The Book of Prayer

Bulugh al-Maram #380

كتاب الصلاة

وَلِأَحْمَدَ: «أَنَّ اَلنَّبِيَّ ‏- صلى الله عليه وسلم ‏-عَلَّمَهُ اَلتَّشَهُّد, وَأَمَرَهُ أَنْ يُعَلِّمَهُ اَلنَّاسَ».

And in the narration of Ahmad:

'The Prophet (ﷺ) taught him at-Tashahhud and ordered him to teach it to the people.'

Random