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.
quran:48:5

˹And˺ that He may admit the believing men and the believing women to gardens beneath which rivers flow to abide therein eternally and remove from them their misdeeds - and ever is that, in the sight of Allah, a great attainment -  

so that He may admit (li-yudkhila is semantically connected to an omitted clause, that is to say, amara bi’ljihād, ‘He has enjoined the struggle ˹so that He may admit˺’) the believing men and believing women into gardens underneath which rivers flow, wherein they will abide, and that He may absolve them of their misdeeds; for that, in God’s sight, is a supreme triumph;
القرآن:٤٨:٥

لِيُدْخِلَ الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ جَنَّاتٍ تَجْرِي مِنْ تَحْتِهَا الْأَنْهَارُ خَالِدِينَ فِيهَا وَيُكَفِّرَ عَنْهُمْ سَيِّئَاتِهِمْ ۚ وَكَانَ ذَٰلِكَ عِنْدَ اللَّهِ فَوْزًا عَظِيمًا  

{ليدخل} متعلق بمحذوف، أي أمر الجهاد {المؤمنين والمؤمنات جنات تجري من تحتها الأنهار خالدين فيها ويكفّر عنهم سيئاتهم وكان ذلك عند الله فوزا عظيما}.

See similar narrations below:

Collected by Qurʾān
quran:9:72

Allah has promised the believing men and believing women gardens beneath which rivers flow, wherein they abide eternally, and pleasant dwellings in gardens of perpetual residence; but approval from Allah is greater. It is that which is the great attainment.  

God has promised the believers, both men and women, Gardens underneath which rivers flow, to abide therein, and blessed dwellings in the Gardens of Eden, for residence, and beatitude from God is greater, is superior to all of that. That is the supreme triumph.
القرآن:٩:٧٢

وَعَدَ اللَّهُ الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ جَنَّاتٍ تَجْرِي مِنْ تَحْتِهَا الْأَنْهَارُ خَالِدِينَ فِيهَا وَمَسَاكِنَ طَيِّبَةً فِي جَنَّاتِ عَدْنٍ ۚ وَرِضْوَانٌ مِنَ اللَّهِ أَكْبَرُ ۚ ذَٰلِكَ هُوَ الْفَوْزُ الْعَظِيمُ  

{وعد الله المؤمنين والمؤمنات جنات تجري من تحتها الأنهار خالدين فيها ومساكن طيبة في جنات عدن} إقامة {ورضوانُُ من الله أكبر} أعظم من ذلك كله {ذلك هو الفوز العظيم}.
quran:57:12

On the Day you see the believing men and believing women, their light proceeding before them and on their right, ˹it will be said˺, "Your good tidings today are ˹of˺ gardens beneath which rivers flow, wherein you will abide eternally." That is what is the great attainment.  

Mention, the day when you will see the believing men and believing women with their light shining forth before them, in front of them, and, it will ˹also˺ be, on their right, and it will be said to them: ‘Good tidings for you on this day: Gardens, that is to say, enter them, underneath which rivers flow, wherein you will abide. That is the great success’.
القرآن:٥٧:١٢

يَوْمَ تَرَى الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ يَسْعَىٰ نُورُهُمْ بَيْنَ أَيْدِيهِمْ وَبِأَيْمَانِهِمْ بُشْرَاكُمُ الْيَوْمَ جَنَّاتٌ تَجْرِي مِنْ تَحْتِهَا الْأَنْهَارُ خَالِدِينَ فِيهَا ۚ ذَٰلِكَ هُوَ الْفَوْزُ الْعَظِيمُ  

اذكر {يوم ترى المؤمنين والمؤمنات يسعى نورهم بين أيديهم} أمامهم {و} يكون {بأيمانهم} ويقال لهم {بُشراكم اليوم جنات} أي ادخلوها {تجري من تحتها الأنهار خالدين فيها ذلك هو الفوز العظيم}.