The Messenger of Allah (ﷺ) used to teach us tashahhud as he would teach us a Sura of the Quran.
Sahih Muslim Book 4, Hadith 65