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.
Sahih Muslim Book 4, Hadith 62