Settling Of Ismael AS In Mecca By Ibrahim AS
Yes, the incident of the sacrifice took place first, at Marwa, and then Abraham was ordered, later, to settle his son in Makkah.