Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Every inhabitant of the Fire will see his seat in Paradise and say, 'If only Allah had guided me,' and this will become a source of regret for him. And every inhabitant of Paradise will see his seat in the Fire and say, 'Had Allah not guided me,' and this will become a cause for gratitude on his part."

Azami 13204

Hasan

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

قال رسول الله ﷺ: كل أهل النار يرى مقعده من الجنة، فيقول: لو أن الله هداني. فيكون عليه حسرة. قال: وكل أهل الجنة يرى مقعده من النار، فيقول: لولا أن الله هداني. قال: فيكون له شكرا.

الأعظمي 13204حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Zumar
Section
His saying, "Lest a soul should say, 'O my regret over what I neglected in regard to Allah, and I was indeed among the mockers.' Or it should say, 'If only Allah had guided me, I would have been among the righteous.'"
Numbering
Jami al-Kamil 13204 (2nd edition)
Azami 13204