What is the sharia to perform aqiqa before 7days of the birth of baby? Is it obligatory to do it before 7days or not?

It’s preferable before 7 days however if it was not possible it should be performed at anytime after ASAP