Al-Ilmam bi-Ahadith al-Ahkam 231
وَعَن ابْن عَبَّاس رَضِيَ اللَّهُ عَنْهما أَنه، قَالَ: " كَانَ رَسُول الله ﷺ يعلمنَا التَّشَهُّد كَمَا يعلمنَا السُّورَة من الْقُرْآن، وَكَانَ يَقُول: التَّحِيَّات المباركات، الصَّلَوَات الطَّيِّبَات لله، السَّلَام عَلَيْك أَيهَا النَّبِي وَرَحْمَة الله وَبَرَكَاته، السَّلَام علينا وَعَلَى عباد الله الصَّالِحين، أشهد أَن لَا إِلَه إِلَّا الله وَأشْهد أَن مُحَمَّدًا رَسُول الله ". انْفَرد بِهِ مُسلم.
From Ibn ʿAbbas, may Allah be pleased with them both, that he said: "The Messenger of Allah ﷺ used to teach us the tashahhud as he taught us a surah of the Quran, and he would say: All blessed greetings, and good prayers, are for Allah. Peace be upon you, O 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." Muslim alone reported it.