Anas bin Malik reported,

The Prophet ﷺ said, "Allah تبارك وتعالى will say to the person receiving the lightest punishment among the people of Hell, 'If you possessed the entire world and everything in it, would you offer it as ransom?'The man will reply, 'Yes.'Allah will then say, 'I asked something far easier of you while you were still in the loins of Adam, that you not associate any partner with Me,'" and I think he said, "'and I would not have admitted you into the Fire, but you refused and insisted on associating partners with Me.'"

Muslim 7083

Sahih

حدثنا عبيد الله بن معاذ العنبري حدثنا أبي حدثنا شعبة عن أبي عمران الجوني

عن أنس بن مالك

عن النبي ﷺ قال يقول الله تبارك وتعالى لأهون أهل النار عذابا لو كانت لك الدنيا وما فيها أكنت مفتديا بها فيقول نعم فيقول قد أردت منك أهون من هذا وأنت في صلب آدم أن لا تشرك أحسبه قال ولا أدخلك النار فأبيت إلا الشرك

مسلم 7083صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Description of the Resurrection, Paradise, and Hellfire
Chapter
Disbeliever's request to ransom himself with the earth's fill of gold
Numbering
Darussalam 7083
Muslim 7083