It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that I saw the Noble Prophet (peace and blessings be upon him) standing at the Jamrah on the Day of Sacrifice. Meanwhile, a man came and said, "O Messenger of Allah! I had my head shaved before stoning." The Noble Prophet (peace and blessings be upon him) said, "Now perform the stoning, there is no harm." Another man came and said, "O Messenger of Allah! I thought that sacrifice comes before stoning, so I offered the sacrifice before stoning." The Noble Prophet (peace and blessings be upon him) said, "Now go and perform the stoning, there is no harm." Another man came and said, "I performed Tawaf al-Ziyarah before stoning." The Noble Prophet (peace and blessings be upon him) said, "Now perform the stoning, there is no harm." On that day, for every question of this nature that was asked to the Noble Prophet (peace and blessings be upon him), he replied, "Now do it, there is no harm."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6957