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 will enter Paradise, and whoever dies associating anything with Allah will enter the Fire."
أتى النبي ﷺ رجل فقال: يا رسول الله، ما الموجبتان؟ قال: من مات لا يشرك بالله شيئا دخل الجنة، ومن مات يشرك بالله شيئا دخل النار.
Muslim narrated it in the Book of Faith (93) through multiple routes from Abu Muawiya, from Amash, from Abu Sufyan, from Jabir, who related it.