A man came to the Prophet ﷺ and asked, "Messenger of Allah, what are the two things that make Paradise or Hell certain?"He replied, "Whoever dies without associating anything with Allah enters Paradise, and whoever dies associating anything with Allah enters the Fire."
أتى النبي ﷺ رجل فقال: يا رسول الله، ما الموجبتان؟ فقال: من مات لا يشرك بالله شيئا دخل الجنة، ومن مات يشرك بالله شيئا دخل النار.
Muslim narrated it in the Book of Faith (93:151) through several routes from Abu Muawiya, from Amash, from Abu Sufyan, from Jabir, who related it.