It was narrated that Jabir said:
The Messenger of Allah (ﷺ) used to teach us the tashahhud just as he would teach us a surah of the Quran: 'Bismillah, wa billahi. At-tahiyyatu lillahi wasalawatu wat-tayibaat, as-salamu 'alaika ayah-Nabiyyu wa rahmatAllahi wa baraktuhu. As-salamu 'alaina a 'ala ibad illahis-salihin, ashadu an la ilaha ill Allah, wa ashhadu anna Muhammadan 'abduhu wa rasuluhu. As'al Allahal-jannah wa author billahi min an-nar (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. 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. I ask Allah for Paradise and I seek refuge with Allah from the Fire.)'