كتاب صفة القيامة والجنة والنار
52  
Characteristics of the Day of Judgment, Paradise, and Hell
(10)
Chapter: The Disbeliever Seeking Ransom With An Earthful Of Gold
(10)
باب طَلَبِ الْكَافِرِ الْفِدَاءَ بِمِلْءِ الأَرْضِ ذَهَبًا ‏‏
Sahih Muslim 2805 a

Anas b. Malik reported Allah's Messenger (ﷺ) as saying:

Allah, the Exalted and High, would say to one who shall have to undergo the least torture (on the Day of Resurrection): Would you like to go as ransom if you had all worldly riches; he would say: Yes. Allah would say to him: When you were in the loins of Adam, I demanded from you something easier than this that you should not associate anything with Me. (The narrator says): I think He also said: I would not cause you to enter Hell-Fire but you defied and attributed Divinity (to others besides Me).
حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ الْعَنْبَرِيُّ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي عِمْرَانَ الْجَوْنِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ يَقُولُ اللَّهُ تَبَارَكَ وَتَعَالَى لأَهْوَنِ أَهْلِ النَّارِ عَذَابًا لَوْ كَانَتْ لَكَ الدُّنْيَا وَمَا فِيهَا أَكُنْتَ مُفْتَدِيًا بِهَا فَيَقُولُ نَعَمْ فَيَقُولُ قَدْ أَرَدْتُ مِنْكَ أَهْوَنَ مِنْ هَذَا وَأَنْتَ فِي صُلْبِ آدَمَ أَنْ لاَ تُشْرِكَ - أَحْسَبُهُ قَالَ - وَلاَ أُدْخِلَكَ النَّارَ فَأَبَيْتَ إِلاَّ الشِّرْكَ ‏"‏ ‏.‏
Reference : Sahih Muslim 2805a
In-book reference : Book 52, Hadith 37
USC-MSA web (English) reference : Book 39, Hadith 6733
  (deprecated numbering scheme)