Qasim bin Mukhaymara reported,

Alqama took me by the hand and told me that Abdullah bin Masud took him by the hand, and that the Messenger of Allah ﷺ took Abdullah by the hand and taught him the tashahhud in the prayer. He then mentioned the same supplication as in the hadith of Amash, adding, "When you have said this, or completed this, you have completed your prayer. If you wish to stand, then stand, and if you wish to remain seated, then remain seated."

Abu Dawud 970

Sahih

حدثنا عبد الله بن محمد النفيلي حدثنا زهير حدثنا الحسن بن الحر

عن القاسم بن مخيمرة قال

أخذ علقمة بيدي فحدثني أن عبد الله بن مسعود أخذ بيده وأن رسول الله ﷺ أخذ بيد عبد الله فعلمه التشهد في الصلاة فذكر مثل دعاء حديث الأعمش إذا قلت هذا أو قضيت هذا فقد قضيت صلاتك إن شئت أن تقوم فقم وإن شئت أن تقعد فاقعد

أبو داود 970صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Tashahhud
Numbering
Darussalam 970
Abu Dawud 970