Said at the eclipse, having been shown both
Hell was brought so close that he stepped back.
دَنَتْ مِنِّي النَّارُ حَتَّى قُلْتُ أَىْ رَبِّ، وَأَنَا مَعَهُمْ فَإِذَا امْرَأَةٌ ـ حَسِبْتُ أَنَّهُ قَالَ ـ تَخْدِشُهَا هِرَّةٌ قَالَ مَا شَأْنُ هَذِهِ قَالُوا حَبَسَتْهَا حَتَّى مَاتَتْ جُوعًا
Paradise was brought so near that I could have taken a bunch from it, and Hell was brought so near that I said: my Lord, and I am among them?
The full narration
Narrated Asma' bint Abi Bakr:The Prophet (ﷺ) prayed the eclipse prayer, and then said, "Hell was displayed so close that I said, 'O my Lord ! Am I going to be one of its inhabitants?"' Suddenly he saw a woman. I think he said, who was being scratched by a cat. He said, "What is wrong with her?" He was told, "She had imprisoned it (i.e. the cat) till it died of hunger
Source
Ṣaḥīḥ al-Bukhārī · 2364
- Agreed upon as authentic (al-Bukhārī / Muslim)