Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2737cShaybān b. Farrūkh > Abū al-Ashhab > Abū Rajāʾ > Ibn ʿAbbās

He looked into the Fire of Hell. The rest of the hadith is the same.  

مسلم:٢٧٣٧cوَحَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ حَدَّثَنَا أَبُو الأَشْهَبِ حَدَّثَنَا أَبُو رَجَاءٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ اطَّلَعَ فِي النَّارِ فَذَكَرَ بِمِثْلِ حَدِيثِ أَيُّوبَ