Anas bin Malik reported,

The Prophet ﷺ said, "Allah the Exalted will say to the one receiving the lightest punishment among the people of the Fire on the Day of Resurrection, 'If you possessed everything on earth, would you offer it as ransom?'He will reply, 'Yes.'Allah will say, 'I asked of you something easier than this while you were still in the loins of Adam, that you not associate anything with Me, but you refused and insisted on associating partners with Me.'"

Azami 16479

Sahih

عن أنس بن مالك

عن النبي ﷺ قال: يقول الله تعالى لأهون أهل النار عذابا يوم القيامة: لو أن لك ما في الأرض من شيء أكنت تفتدي به؟ فيقول: نعم، فيقول: أردت منك أهون من هذا، وأنت صلب آدم: أن لا تشرك بي شيئا، فأبيت إلا أن تشرك بي.

الأعظمي 16479صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Description of Paradise and Hell and their inhabitants
Chapter
People of the Fire, their description
Section
Wishing of the people of Hell to ransom themselves with all that is on the earth and to escape from Hell
Numbering
Jami al-Kamil 16479 (2nd edition)
Azami 16479