Hadith 1722
Narrated Ibn `Abbas: A man said to the Prophet "I performed the Tawaf-al-Ifada before the Rami (throwing pebbles at the Jamra)." The Prophet replied, "There is no harm." The man said, "I had my head shaved before slaughtering." The Prophet replied, "There is no harm." He said, "I have slaughtered the Hadi before the Rami." The Prophet replied, "There is no harm."
Hadith 4813
Narrated Abu Huraira: The Prophet said, "I will be the first to raise my head after the second blowing of the trumpet and will see Moses hanging the Throne, and I will not know whether he had been in that state all the time or after the blowing of the trumpet."