English translation
[3157] 328 - (...) 'Abdullāh bin 'Amr bin Al-'Aṣ said: "The Messenger of Allāh ﷺ stopped on his mount, and the people started to ask him questions. One of them said: 'O Messenger of Allāh, I did not realize that the stoning comes before the sacrifice, and I offered my sacrifice before stoning the Jamrah.' The Messenger of Allāh ﷺ said: 'Stone it, it doesn't matter.' Another said: 'I did not realize that the sacrifice comes before shaving, and I shaved (my head) before I offered my sacrifice.' He said: 'Offer your sacrifice, it doesn't matter.' I did not hear him being asked about anything that day where a man had forgotten or was unaware of which things came before which, and so on, but the Messenger of Allâh ﷺ said: 'Do that, and it doesn't matter.'"
Arabic text
٣٢٨ - (١٣٠٦) وحدثني حرملة بن يحيى. أخبرنا ابن وهب. أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ. حَدَّثَنِي عِيسَى بْنُ طَلْحَةَ التَّيْمِيُّ؛ أَنَّهُ سَمِعَ عَبْدَ اللَّهِ بْنَ عَمْرِو بْنِ الْعَاصِ يَقُولُ:
وَقَفَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى رَاحِلَتِهِ. فَطَفِقَ نَاسٌ يَسْأَلُونَهُ. فَيَقُولُ الْقَائِلُ مِنْهُمْ: يَا رَسُولَ اللَّهِ! إِنِّي لَمْ أَكُنْ أَشْعُرُ أَنَّ الرَّمْيَ قَبْلَ النَّحْرِ، فَنَحَرْتُ قَبْلَ الرَّمْيِ. فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ "فَارْمِ وَلَا حَرَجَ" قَالَ: وَطَفِقَ آخَرُ يَقُولُ: إِنِّي لَمْ أَشْعُرْ أَنَّ النَّحْرَ قَبْلَ الْحَلْقِ، فَحَلَقْتُ قَبْلَ أَنْ أَنْحَرَ. فَيَقُولُ "انْحَرْ وَلَا حَرَجَ" قَالَ: فَمَا سَمِعْتُهُ يُسْأَلُ يَوْمَئِذٍ عَنْ أَمْرٍ، مِمَّا يَنْسَى الْمَرْءُ وَيَجْهَلُ، مِنْ تَقْدِيمِ بَعْضِ الأُمُورِ قَبْلَ بَعْضٍ، وَأَشْبَاهِهَا، إِلَّا قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ "افْعَلُوا ذَلِكَ ولا حرج".