Narrated Anas bin Malik: The Prophet said, "Allah will say to the person who will have the minimum punishment in the Fire on the Day of Resurrection, 'If you had things equal to whatever is on the earth, would you ransom yourself (from the punishment) with it?' He will reply, Yes. Allah will say, 'I asked you a much easier thing than this while you were in the backbone of Adam, that is, not to worship others besides Me, but you refused and insisted to worship others besides Me."'
Hadith Referenceصحيح البخاري / كتاب الرقاق / 6557
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
Hadith Commentary: On the Day of Resurrection, the disbelievers who are seized by Allah’s punishment will not attain salvation in any way. Allah, exalted is He, will say to them what is mentioned in the hadith solely to humiliate and disgrace them.
The statement of Allah, the Exalted, is: “Indeed, those who disbelieved and died while they were disbelievers—never would the [whole] earth full of gold be accepted from any one of them if he would [seek to] ransom himself with it.” ()
Rather, with even greater clarity and explicitness, He said: “As for those who disbelieve, if they possessed all that is in the earth and as much again with it to ransom themselves thereby from the punishment on the Day of Resurrection, it would not be accepted from them.” ()
Source: Hidayat al-Qari: Commentary on Sahih Bukhari, Urdu, Page: 6557