"When we sat during the prayer with the Messenger of Allah (ﷺ), we used to say: 'Peace (salam) be upon Allah(SWT), peace be upon so-and-so and so-and-so.' The Messenger of Allah (ﷺ) said: 'Do not say peace (salam) be upon Allah (SWT), for Allah (SWT) is As-Salam (the Source of peace; the One free from all faults). Rather say: At-tahiyyatu lillahi wasalawatu wat-tayibaat, as-salamu 'alaika ayah-Nabiyyu wa rahmatAllahi wa baraktuhu. As-salamu 'alaina a 'ala ibad illahis-salihin (All compliments, prayers and pure words are due to Allah. Peace be upon you O Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous slaves of Allah.) If you say that, it will be for every righteous slave in the heavens and on earth, "ashadu an la ilaha ill Allah, wa ashhadu anna Muhammadan 'abduhu wa rasuluhu (I bear witness that that none has the right to be worshipped except Allah, and I bear witness that Muhammad is His slave and messenger.) Then let him choose any supplication that he likes to say after that.'"
Reported by An-Nasa’i (No. 1298, 1162, 1163, 1164, 1166, 1167, 1168, 1169), Al-Bukhari (No. 831, 835, 1202, 6230, 6265, 7381), Muslim (No. 402a), Abu Dawud (No. 968), At-Tirmidhi (No. 289, 1105), Ibn Majah (No. 899, 1892), Ahmad (No. 3381, 3439, 3683, 3724, 3725, 3726, 3739, 3804) and Ad-Darimi (No. 1306, 1307).
The Messenger of Allah (may Allah's peace and blessings be upon him) taught me the Tashahhud, with my hand between his two hands, as he would teach me a Surah from the Qur’an: "At-tahiyyātu lillāhi was-salawātu wat-tayyibātu as-Salāmu ‘alayka ayyuha an-nabiyyu wa rahmatullāhi wa barakātuh…
أُوتِيَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ جَوَامِعَ الْخَيْرِ وَخَوَاتِمَهُ - أَوْ قَالَ فَوَاتِحَ الْخَيْرِ - فَعَلَّمَنَا خُطْبَةَ الصَّلاَةِ وَخُطْبَةَ الْحَاجَةِ خُطْبَةُ الصَّلاَةِ التَّحِيَّاتُ لِلَّهِ…
Narrated by Abdullah ibn Mas‘ūd
Not gradedMuttafaq ‘alayh (Bukhari and Muslim)Musnad Ahmad 3381
Ibn ‘Abbās (may Allah be pleased with him) reported: The Messenger of Allah (may Allah’s peace and blessings be upon him) used to teach us the Tashahhud just as he used to teach us a Sūrah from the Qur’an. He used to say: "All blessed greetings and good prayers are due to Allah; peace be upon you…