Oaths and Vows
Bukhari :: Book 8 :: Volume 78 :: Hadith 659
Narrated Ibn 'Abbas:
A man said to the Prophet (while he was delivering a sermon on the Day of Nahr), "I have performed the Tawaf round the Ka'ba before the Rami (throwing pebbles) at the Jamra." The Prophet said, "There is no harm (therein)." Another man said, "I had my head shaved before slaughtering (the sacrifice)." The Prophet said, "There is no harm." A third said, "I have slaughtered (the sacrifice) before the Rami (throwing pebbles) at the Jamra." The Prophet said, "There is no harm."