A man said to the Prophet (while he was delivering a sermon on the Day of Nahr), "I have performed the Tawaf round the Kaʿba before the Rami (throwing pebbles) at the Jamra." The Prophet ﷺ said, "There is no harm (therein)." Another man said, "I had my head shaved before slaughtering (the sacrifice)." The Prophet ﷺ said, "There is no harm." A third said, "I have slaughtered (the sacrifice) before the Rami (throwing pebbles) at the Jamra." The Prophet ﷺ said, "There is no harm." (Using translation from Bukhārī 6666)
يَا رَسُولَ اللهِ ذَبَحْتُ قَبْلَ أَنْ أَرْمِيَ قَالَ «ارْمِ وَلَا حَرَجَ» وَقَالَ آخَرُ يَا رَسُولَ اللهِ حَلَقْتُ قَبْلَ أَنْ أَذْبَحَ قَالَ «اذْبَحْ وَلَا حَرَجَ» قَالَ آخَرُ طُفْتُ بِالْبَيْتِ يَا رَسُولَ اللهِ قَبْلَ أَنْ أَذْبَحَ قَالَ «اذْبَحْ وَلَا حَرَجَ»