Sahih Muslim 403
Sahih Muslim · Book 4: The Book of Prayers · The Tashah-hud In The Prayer
Tawus narrated it on the authority of Ibn 'Abbas that he said:
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا يَحْيَى بْنُ آدَمَ ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ حُمَيْدٍ ، حَدَّثَنِي أَبُو الزُّبَيْرِ ، عَنْ طَاوُسٍ ، عَنِ ابْنِ عَبَّاسٍ ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُعَلِّمُنَا التَّشَهُّدَ كَمَا يُعَلِّمُنَا السُّورَةَ مِنَ الْقُرْآنِ .
The Messenger of Allah (ﷺ) used to teach us tashahhud as he would teach us a Sura of the Qur'an.