Prayer (Kitab Al-Salat): Details of Commencing Prayer
Dawud :: Book 3 : Hadith 965
Narrated Abdullah ibn Mas'ud:
Alqamah said that Abdullah ibn Mas'ud caught hold of his hand saying that the Apostle of Allah (peace_be_upon_him) caught hold of his (Ibn Mas'ud's) hand and taught him the tashahhud during prayer.
He then narrated the (well known ) tradition (of tashahhud). This version adds: When you say this or finish this, then you have completed your prayer. If you want to stand up, then stand, and if you want to remain sitting, then remain sitting.