It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "O Allah, forgive those who shaved their heads." The Companions (may Allah be pleased with them) said: "And those who shortened their hair as well?" Then he (peace and blessings be upon him) said the third time: "And those who shortened their hair as well."