Ibn ‘Umar told that at the Farewell Pilgrimage God's messenger said, “O God, have mercy on those who have themselves shaved.” The people suggested that he should add those who had clipped their hair. He again said the same words, and when they made the same suggestion, he added “and those who clip their hair.”
Yahya b. al-Husain quoted his grandmother as saying she heard the Prophet at the Farewell Pilgrimage make supplication three.times for those who had their heads shaved and once for those who clipped their hair.