We were with the Messenger of Allah ﷺ in a tent when he mentioned a long hadith, in which he said, "None shall enter Paradise except a Muslim soul…" and so the hadith continues.
كنا مع رسول الله ﷺ في قبة، فذكر حديثا طويلا، جاء فيه: إن الجنة لا يدخلها إلا نفس مسلمة… الحديث.
No references are available.
Bukhari related it in the chapter on Riqaq (6528), and Muslim in the chapter on Iman (377:221), both from Muhammad bin Bashshar, who said, Muhammad bin Jafar Ghundar told us, Shubah told us, from Abu Ishaq, from Amr bin Maymun, from Abdullah bin Masud, and he related it.