Hadithcore
Sahih al-Bukhari, 1654
sahih

Narrated `Abdul `Aziz:

I went out to Mina on the day of Tarwiya and met Anas going on a donkey. I asked him, "Where did the Prophet (ﷺ) offer the Zuhr prayer on this day?" Anas replied, "See where your chiefs pray and pray similarly."

حَدَّثَنَا عَلِيٌّ، سَمِعَ أَبَا بَكْرِ بْنَ عَيَّاشٍ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، لَقِيتُ أَنَسًا‏.‏ وَحَدَّثَنِي إِسْمَاعِيلُ بْنُ أَبَانَ، حَدَّثَنَا أَبُو بَكْرٍ، عَنْ عَبْدِ الْعَزِيزِ، قَالَ خَرَجْتُ إِلَى مِنًى يَوْمَ التَّرْوِيَةِ فَلَقِيتُ أَنَسًا ـ رضى الله عنه ـ ذَاهِبًا عَلَى حِمَارٍ فَقُلْتُ أَيْنَ صَلَّى النَّبِيُّ صلى الله عليه وسلم هَذَا الْيَوْمَ الظُّهْرَ فَقَالَ انْظُرْ حَيْثُ يُصَلِّي أُمَرَاؤُكَ فَصَلِّ‏.‏

References2 variants
In-Book Reference
Book 25, Hadith 135
USC-MSA web (English) reference
Vol. 2, Book 26, Hadith 716 (deprecated numbering scheme)
Sharh · explanationclick to expand
The Hajj is an act of worship that cannot be sanctioned except on the basis of textual evidence from the Quran or the Sunnah to that effect. The Prophet ﷺclarified the rulings pertaining to Hajj and explained that which is allowed and that which is not, and which actions can be delayed or in advance, and what can be open and flexible. The Companions (ras) transmitted all that to the next generation who in their turn transmitted to the people after them and so on. They even offered advice to people about what to do when some rulers make changes to the time and place of certain actions, which are considered flexible in such sense. In this hadeeth, the Taabi’ee ‘Abd al-‘Azeez ibn Rufay’ reports that he went to Minaa on the Day of Tarwiyah, which is the 8th of Thoo al-Hijjah. On his way to Minaa, he met Anas ibn Maalik (ra) riding his donkey and heading also to Minaa. He asked him about the place where the Prophet ﷺprayed on the 8th of Thoo al-Hijjah, so he answered him that he should pray where his rulers pray. His statement was to show that it is permissible to pray it anywhere and that it is an open matter so people can pray in any place that is more convenient to them. While it is better and more recommended to pray where the Prophet ﷺoffered the Thuhr and ‘Asr prayers, but he (ra) wanted to show that it is not obligatory..