The Messenger of Allah ﷺ said, "If the believer knew the punishment that Allah has prepared, no one would hope for His Paradise, and if the disbeliever knew the mercy that Allah possesses, no one would despair of His Paradise."
أن رسول الله ﷺ قال: لو يعلم المؤمن ما عند الله من العقوبة، ما طمع بجنته أحد، ولو يعلم الكافر ما عند الله من الرحمة، ما قنط من جنته أحد.
Muslim reported it in the Book of Repentance (2755) through several routes from Ismail bin Jafar, who said, Ala (that is, Ibn Abdul-Rahman bin Yaqub) informed me, from his father, from Abu Hurairah, who narrated it.