It was narrated that Ibn ‘Abbas said:
“The Messenger of Allah (ﷺ) used to teach us the Tashah-hud as he used to teach us a Surah of the Qur’an. He used to say: ‘At-Tahiyyatul-Mubarakatus salawatut-tayyibatu lillah; As-salamu ‘alayka ayyuhan-Nabiyyu wa rahmatullahi wa barakatuhu; as-salamu ‘alayna wa ‘ala ‘ibadillahis-salihin. Ashhadu an la ilaha illallah wa ashhadu anna Muhammadan ‘abduhu wa Rasuluhu (All blessed compliments and good prayers 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 none has the right to be worshipped but Allah and I bear witness that Muhammad is His slave and Messenger).’”