[Machine] When the Messenger of Allah ﷺ returned from Hudaybiyah, this verse was revealed: "Indeed, We have given you a clear conquest that Allah may forgive for you what preceded of your sin and what will follow and complete His favor upon you and guide you to a straight path." [Quran 48:1-2]. The Muslims said, "O Messenger of Allah, congratulations on what Allah has given you! But what about us?" So this verse was revealed: "That He may admit the believing men and 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 achievement." [Quran 48:5].
لَمَّا انْصَرَفَ رَسُولُ اللهِ ﷺ مِنَ الْحُدَيْبِيَةِ نَزَلَتْ هَذِهِ الْآيَةُ {إِنَّا فَتَحْنَا لَكَ فَتْحًا مُبِينًا لِيَغْفِرَ لَكَ اللهُ مَا تَقَدَّمَ مِنْ ذَنْبِكَ وَمَا تَأَخَّرَ وَيُتِمَّ نِعْمَتَهُ عَلَيْكَ وَيَهْدِيَكَ صِرَاطًا مُسْتَقِيمًا} [الفتح 12] قَالَ الْمُسْلِمُونَ يَا رَسُولَ اللهِ هَنِيئًا لَكَ مَا أَعْطَاكَ اللهُ فَمَا لَنَا؟ فَنَزَلَتْ {لِيُدْخِلَ الْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ جَنَّاتٍ تَجْرِي مِنْ تَحْتِهَا الْأَنْهَارُ خَالِدِينَ فِيهَا وَيُكَفِّرَ عَنْهُمْ سَيِّئَاتِهِمْ وَكَانَ ذَلِكَ عِنْدَ اللهِ فَوْزًا عَظِيمًا} [الفتح 5]