Rami of the Jamra after Maghrib or head shaved before slaughtering the Hadi Sahih al-Bukhari 1734
Translation
Narrated Ibn `Abbas
The Prophet (ﷺ) was asked about the slaughtering, shaving (of the head), and the doing of Rami before or after the due times. He said, "There is no harm in that."