Abdullah bin Abbas reported,

The Messenger of Allah ﷺ used to teach us the tashahhud the way he taught us a surah from the Quran. He would say, "The blessed greetings, the good prayers belong to Allah. 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 the Messenger of Allah."

Azami 2163

Sahih

عن ابن عباس أنه قال

كان رسول الله ﷺ يعلمنا التشهد كما يعلمنا السورة من القرآن فكان يقول: التحيات المباركات، الصلوات الطيبات الله، السلام عليك أيها النبي ورحمة الله وبركاته، السلام علينا وعلى عباد الله الصالحين، أشهد أن لا إله إلا الله، وأشهد أن محمدا رسول الله.

الأعظمي 2163صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Tashahhud and salam
Section
Tashahhud of Ibn Abbas
Numbering
Jami al-Kamil 2163 (2nd edition)
Azami 2163