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. (Using translation from Muslim 15a)
أَتَى النَّبِيَّ ﷺ النُّعْمَانُ بْنُ قَوْقَلٍ فَقَالَ يَا رَسُولَ اللهِ أَرَأَيْتَ إِذَا صَلَّيْتُ الْمَكْتُوبَةَ وَحَرَّمْتُ الْحَرَامَ وَأَحْلَلْتُ الْحَلَالَ أَأَدْخُلُ الْجَنَّةَ؟ فَقَالَ النَّبِيُّ ﷺ نَعَمْ