The Messenger of Allah ﷺ used to teach us the tashahhud just as he would teach us a surah from the Quran. He would say, "In the name of Allah and by Allah. All greetings belong to Allah, and all prayers and pure things. Peace be upon you, Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and His Messenger. I ask Allah for Paradise and seek refuge in Allah from the Fire."
حدثنا محمد بن زياد حدثنا المعتمر بن سليمان ح و حدثنا يحيى بن حكيم حدثنا محمد بن بكر قالا حدثنا أيمن بن نابل حدثنا أبو الزبير
كان رسول الله ﷺ يعلمنا التشهد كما يعلمنا السورة من القرآن باسم الله وبالله التحيات لله والصلوات والطيبات لله السلام عليك أيها النبي ورحمة الله وبركاته السلام علينا وعلى عباد الله الصالحين أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله أسأل الله الجنة وأعوذ بالله من النار
[Its chain of transmission is daif] Nasai transmitted it, 2/243, Placing the Palms Together, Another Kind of Tashahhud, no. 1176, and 3/43, no. 1282, from the hadith of Ayman through the same chain. See no. 395 for its defect.