Language:
كتاب الحج
25  
Hajj (Pilgrimage)
(131)
Chapter: To give religious verdicts while riding an animal
(131)
باب الْفُتْيَا عَلَى الدَّابَّةِ عِنْدَ الْجَمْرَةِ
Sahih al-Bukhari 1737

Narrated `Abdullah bin `Amr bin Al-`As:

I witnessed the Prophet (ﷺ) when he was delivering the sermon on the Day of Nahr. A man stood up and said, "I thought that such and such was to be done before such and such. I got my hair shaved before slaughtering." (Another said), "I slaughtered the Hadi before doing the Rami." So, the people asked about many similar things. The Prophet (ﷺ) said, "Do it (now) and there is no harm in all these cases." Whenever the Prophet (ﷺ) was asked about anything on that day, he replied, "Do it (now) and there is no harm in it."

حَدَّثَنَا سَعِيدُ بْنُ يَحْيَى بْنِ سَعِيدٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا ابْنُ جُرَيْجٍ، حَدَّثَنِي الزُّهْرِيُّ، عَنْ عِيسَى بْنِ طَلْحَةَ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ ـ رضى الله عنه ـ حَدَّثَهُ أَنَّهُ، شَهِدَ النَّبِيَّ صلى الله عليه وسلم يَخْطُبُ يَوْمَ النَّحْرِ، فَقَامَ إِلَيْهِ رَجُلٌ، فَقَالَ كُنْتُ أَحْسِبُ أَنَّ كَذَا قَبْلَ كَذَا‏.‏ ثُمَّ قَامَ آخَرُ فَقَالَ كُنْتُ أَحْسِبُ أَنَّ كَذَا قَبْلَ كَذَا حَلَقْتُ قَبْلَ أَنْ أَنْحَرَ، نَحَرْتُ قَبْلَ أَنْ أَرْمِيَ‏.‏ وَأَشْبَاهَ ذَلِكَ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ افْعَلْ وَلاَ حَرَجَ ‏"‏‏.‏ لَهُنَّ كُلِّهِنَّ، فَمَا سُئِلَ يَوْمَئِذٍ عَنْ شَىْءٍ إِلاَّ قَالَ افْعَلْ وَلاَ حَرَجَ‏.‏
Reference : Sahih al-Bukhari 1737
In-book reference : Book 25, Hadith 215
USC-MSA web (English) reference : Vol. 2, Book 26, Hadith 793
  (deprecated numbering scheme)