Sahih Muslim 2737c

وَحَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ، حَدَّثَنَا أَبُو الأَشْهَبِ، حَدَّثَنَا أَبُو رَجَاءٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم اطَّلَعَ فِي النَّارِ . فَذَكَرَ بِمِثْلِ حَدِيثِ أَيُّوبَ .
Ibn 'Abbas reported that Allah's Messenger (ﷺ) stated like this:He looked into the Fire of Hell. The rest of the hadith is the same

Sahih Muslim — The Book of Heart-Melting Traditions — 2737c