Abdullah bin Amr bin As reported,

I saw the Prophet ﷺ at the Jamrah while he was being asked questions.A man said, "Messenger of Allah, I slaughtered before I stoned."He replied, "Stone, and there is no harm."Another said, "Messenger of Allah, I shaved before I slaughtered."He replied, "Slaughter, and there is no harm."He was not asked about anything done before or after its time except that he said, "Do it, and there is no harm."

Bukhari 124

Sahih

حدثنا أبو نعيم قال حدثنا عبد العزيز بن أبي سلمة عن الزهري عن عيسى بن طلحة

عن عبد الله بن عمرو قال

رأيت النبي ﷺ عند الجمرة وهو يسأل فقال رجل يا رسول الله نحرت قبل أن أرمي قال ارم ولا حرج قال آخر يا رسول الله حلقت قبل أن أنحر قال انحر ولا حرج فما سئل عن شيء قدم ولا أخر إلا قال افعل ولا حرج

البخاري 124صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Asking questions and giving fatwa at the throwing of the pebbles
Numbering
Darussalam 124
Bukhari 124