Imam al-Bukhārī narrates: Abū Nu’aym narrated to us. He said: ‘Abd al-‘Azīz ibn Abī Salamah narrated to us, from al-Zuhrī, from ‘Īsā ibn Ṭalḥah,
from ‘Abdullāh ibn ‘Amr (may Allāh Almighty be content with him), who said: I saw the Prophet ﷺ at the Jamrah, and people were asking him questions. A man said: “O Messenger of Allāh! I slaughtered (the sacrifice) before pelting the pebbles.” He ﷺ said: “Pelt the pebbles now; there is no harm.” Another man said: “O Messenger of Allāh! I shaved my head before slaughtering.” He ﷺ said: “Slaughter now; there is no harm.” He was not asked about anything that was done before or after except that he said: “Do it; there is no harm.”
Reference: Sahih Al Bukhari 124