Abu Hurairah reported,

The Prophet ﷺ said, "No one enters Paradise without being shown the place he would have occupied in the Fire had he done evil, so that he may increase in gratitude. And no one enters the Fire without being shown the place he would have occupied in Paradise had he done good, so that it may be a source of regret for him."

Azami 16518

Sahih

عن أبي هريرة قال

قال النبي ﷺ: لا يدخل أحد الجنة إلا أري مقعده من النار لو أساء، ليزداد شكرا، ولا يدخل النار أحد إلا أري مقعده من الجنة لو أحسن، ليكون عليه حسرة.

الأعظمي 16518صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Description of Paradise and Hell and their inhabitants
Chapter
Description of Paradise and Hell together
Section
People of Paradise seeing their seats in Hell had they done evil, and people of Hell seeing their seats in Paradise had they done good
Numbering
Jami al-Kamil 16518 (2nd edition)