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.
كُنَّا إِذَا جَلَسْنَا مَعَ النَّبِيِّ ﷺ فِي الصَّلاَةِ بِمِثْلِ حَدِيثِ مَنْصُورٍ وَقَالَ ثُمَّ يَتَخَيَّرُ بَعْدُ مِنَ الدُّعَاءِ