'Abdullah bin Mas'ud reported: We were sitting with the Apostle (ﷺ) in prayer, and the rest of the hadith is the same as narrated by Mansur He (also said): After (reciting tashahud) he may choose any prayer.
Hadith ReferenceSahih Muslim / The Book of Prayers / Hadith: 402