The Messenger of Allah ﷺ used to be asked questions during the days of Mina, and he would say, "No harm."A man asked him, "I shaved my head before I slaughtered."He replied, "No harm."Another man said, "I threw the pebbles after evening had come."He replied, "No harm."
أخبرنا محمد بن عبد الله بن بزيع قال حدثنا يزيد وهو ابن زريع قال حدثنا خالد عن عكرمة
كان رسول الله ﷺ يسأل أيام منى فيقول لا حرج فسأله رجل فقال حلقت قبل أن أذبح قال لا حرج فقال رجل رميت بعد ما أمسيت قال لا حرج
Bukhari narrated it in the Book of Hajj, chapter "If he threw the pebbles after nightfall, or shaved..." etc, hadith no. 1735, from the hadith of Yazid bin Zuray, with this same wording, and it is also in Kubra, hadith no. 4073.