(4) باب بَيَانِ الإِيمَانِ الَّذِي يُدْخَلُ بِهِ الْجَنَّةُ وَأَنَّ مَنْ تَمَسَّكَ بِمَا أُمِرَ بِهِ دَخَلَ الجَنَّةَ
It is narrated on the authority of Jabir that Nu'man b. Qaufal came to the Prophet (ﷺ) and said:
Would I enter Paradise if I say the obligatory prayers and deny myself that which is forbidden and treat that as lawful what has been made permissible (by the Shari'ah)? The Prophet (ﷺ) replied in the affirmative.
Reference: Sahih Muslim 15 a
In-book reference: Book 1, Hadith 16
USC-MSA web (English) reference(deprecated numbering scheme): Book 1, Hadith 15