A sacrifice whether it is obligatory (wajib) or voluntary cannot be done except within the Sacred Precincts of Haram. Anywhere within these precincts one may offer the intended sacrifice.
Jabir reported that the Prophet (peace be upon him) said, “All Mina is a place for slaughtering, and the entire Muzdalifah is a place for spending the night; and all roads of Makkah are passageways and places to offer one’s sacrifice.” This is reported by Abu Daw’ud and Ibn Majah.
It is preferable for a pilgrim, however, to offer his sacrifice at Mina. For a person performing ‘Umrah it is preferable to offer his sacrifice near Marwah, as this is the place where pilgrims leave the state of ihram whether performing Hajj or ‘Umrah.
Malik has reported that he was told that the Prophet (peace be upon him) said at Mina, “This is the place for offering sacrifice. All Mina is a slaughtering place.” And speaking about ‘Umrah, the Prophet (peace be upon him) said, -This – i.e. Marwah – and all roads and paths of Makkah are slaughtering places.”