Ibn ‘Abbas said that the Prophet was being questioned on the day of sacrifice at Mina and said, “No harm will come.” A man who consulted him said, “I threw the pebbles after the evening had come,” and he replied, “No harm will come.”
Abdallah b. 'Amr b. al-As said that God’s messenger stopped during the Farewell Pilgrimage at Mina for people who had something to ask him. A man came and said, “Being ignorant, I shaved before sacrificing.” He replied, “Sacrifice, for no harm will come.” Another came and said, “Being ignorant, I sacrificed before throwing the pebbles.” He replied, “Throw them, for no harm will come.” The Prophet was not asked about anything which had been done before or after its proper time without saying, “Do it, for no harm will come.”
Bukhari and Muslim. According to a version by Muslim a man came and said, “I shaved before throwing the pebbles.” He replied, “Throw them, for no harm will come.” Another came to him and said, “I hastened to the House before throwing the pebbles.” He replied, “Throw them, for no harm will come.”
‘Ali told of a man coming to God’s messenger and saying, “I hastened to Mecca before shaving.” He replied, “Shave (or clip), for no harm will come.” Another came and said, “I sacrificed before throwing the pebbles.” He replied, “Throw them, for no harm wil come.”