It would be said to the non-believers on the Day of Resurrection: If you were to possess…

Sahih Muslim Book 52 Hadith 39

Sahih Muslim #2805 c

Characteristics of the Day of Judgment, Paradise, and Hell 52:39

Anas b. Malik reported that Allah's Messenger (may peace be u n him) said:

It would be said to the non-believers on the Day of Resurrection: If you were to possess gold, filling the whole earth, would you like to secure your freedom by paying that? He would say: Yes. Thereupon it would be said to him: Something easier (than this) was demanded from you (but you paid no heed to it).

Chapter: The Disbeliever Seeking Ransom With An Earthful Of Gold

Grade: Sahih