Sahih al-Bukhari 1723
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الأَعْلَى، حَدَّثَنَا خَالِدٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ سُئِلَ النَّبِيُّ صلى الله عليه وسلم فَقَالَ رَمَيْتُ بَعْدَ مَا أَمْسَيْتُ. فَقَالَ لاَ حَرَجَ ". قَالَ حَلَقْتُ قَبْلَ أَنْ أَنْحَرَ. قَالَ " لاَ حَرَجَ "."
Narrated Ibn `Abbas:
The Prophet (ﷺ) was asked by a man who said, "I have done the Rami in the evening." The Prophet (ﷺ) replied, "There is no harm in it." Another man asked, "I had my head shaved before the slaughtering." The Prophet (ﷺ) replied, "There is no harm in it."
Full reference and source
Sahih al-Bukhari 1723 In-book : Book 25, Hadith 201 USC-MSA web (English) : Vol. 2, Book 26, Hadith 781 (deprecated)
View source on Sunnah.com (opens in a new tab)