وَٱلَّذِينَ ءَامَنُوا۟ وَعَمِلُوا۟ ٱلصَّٰلِحَٰتِ وَءَامَنُوا۟ بِمَا نُزِّلَ عَلَىٰ مُحَمَّدٍۢ وَهُوَ ٱلْحَقُّ مِن رَّبِّهِمْ ۙ كَفَّرَ عَنْهُمْ سَيِّـَٔاتِهِمْ وَأَصْلَحَ بَالَهُمْ٢
As for those who believe, do righteous deeds, and believe in what has been sent down to Muhammad – which is the truth from their Lord – He will absolve them of their sins and set their condition right.
[ ↗ Study from physical print edition ]And those who believe and do righteous deeds and believe in what has been sent down upon Muhammad - and it is the truth from their Lord - He will remove from them their misdeeds and amend their condition.
[ ↗ Study from physical print edition ]2. Those who have faith in Allah and do righteous deeds, and have faith in what Allah has revealed to His Messenger Muhammad - and what He has revealed to His Messenger Muhammad is the truth from their Lord - He will remit from them their wrongdoings and wont take them to task, and He will set right their affairs in this world and the Hereafter.
But those who believe namely the Helpers al-Ansār and others like them and perform righteous deeds and believe in what has been revealed to Muhammad namely the Qur’ān — and it is the truth from their Lord — He will absolve them of He will forgive them their misdeeds and rightly dispose their mind their state so that they do not disobey Him.
وَآمَنُوا بِمَا نُزِّلَ عَلَىٰ مُحَمَّدٍ…and believed in that which is revealed to Muhammad …(47:2)Although the previous sentence has referred to faith and righteous deeds which includes faith in the messenger-ship of the Holy Prophet Muhammad ﷺ and the revelation that was sent down to him, this sentence specifies explicitly the fact that the actual basis of faith is to embrace all the teachings of the Last Holy Prophet ﷺ .The word " بال (bal) in وَأَصْلَحَ بَالَهُمْ "…and will set aright their state of affairs..(47:2) " is sometimes used in the sense of state of affairs and condition, and at other times in the sense of heart. Here it could refer to both the senses. In the first sense, it means that Allah has set all their affairs aright, that is, He has set aright all their matters of this world and of the Hereafter. In the second sense, it would mean that Allah has improved their hearts. This also has the same implication, that is, corrected all their works, because correction of works is a logical result of improvement of heart, both being necessary to each other.
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿وَالَّذِينَ آمَنُوا وَعَمِلُوا الصَّالِحاتِ وَآمَنُوا بِما نُزِّلَ عَلى مُحَمَّدٍ﴾ قَالَ ابْنُ عَبَّاسٍ وَمُجَاهِدٌ: هُمُ الْأَنْصَارُ. وَقَالَ مُقَاتِلٌ: إِنَّهَا نَزَلَتْ خَاصَّةً فِي نَاسٍ مِنْ قُرَيْشٍ. وَقِيلَ: هُمَا عامتان فيمن كفروا وَآمَنَ. وَمَعْنَى "أَضَلَّ أَعْمالَهُمْ" أَبْطَلَهَا. وَقِيلَ: أَضَلَّهُمْ عَنِ الْهُدَى بِمَا صَرَفَهُمْ عَنْهُ مِنَ التَّوْفِيقِ. "وَعَمِلُوا الصَّالِحاتِ" مَنْ قَالَ إِنَّهُمُ الْأَنْصَارُ فَهِيَ الْمُوَاسَاةُ فِي مَسَاكِنِهِمْ وَأَمْوَالِهِمْ. وَمَنْ قَالَ إِنَّهُمْ مِنْ قُرَيْشٍ فَهِيَ الْهِجْرَةُ. وَمَنْ قَالَ بِالْعُمُومِ فَالصَّالِحَاتُ جَمِيعُ الْأَعْمَالِ الَّتِي تُرْضِي اللَّهَ تَعَالَى. "وَآمَنُوا بِما نُزِّلَ عَلى مُحَمَّدٍ" لَمْ يُخَالِفُوهُ في شي، قَالَهُ سُفْيَانُ الثَّوْرِيُّ. وَقِيلَ: صَدَّقُوا مُحَمَّدًا ﷺ فِيمَا جَاءَ بِهِ. "وَهُوَ الْحَقُّ مِنْ رَبِّهِمْ" يُرِيدُ أَنَّ إِيمَانَهُمْ هُوَ الْحَقُّ مِنْ رَبِّهِمْ. وَقِيلَ: أَيْ إِنَّ الْقُرْآنَ هُوَ الْحَقُّ مِنْ رَبِّهِمْ، نَسَخَ بِهِ مَا قَبْلَهُ "كَفَّرَ عَنْهُمْ سَيِّئاتِهِمْ" أَيْ مَا مَضَى مِنْ سَيِّئَاتِهِمْ قَبْلَ الْإِيمَانِ. "وَأَصْلَحَ بالَهُمْ" أَيْ شَأْنَهُمْ، عَنْ مُجَاهِدٍ وَغَيْرِهِ. وَقَالَ قَتَادَةُ: حَالُهُمْ. ابْنُ عَبَّاسٍ: أُمُورُهُمْ. وَالثَّلَاثَةُ مُتَقَارِبَةٌ وَهِيَ مُتَأَوَّلَةٌ عَلَى إِصْلَاحِ مَا تَعَلَّقَ بِدُنْيَاهُمْ. وَحَكَى النَّقَّاشُ أَنَّ الْمَعْنَى أَصْلَحَ نِيَّاتِهِمْ، وَمِنْهُ قَوْلُ الشَّاعِرِ: فَإِنْ تُقْبِلِي بِالْوُدِّ أُقْبِلْ بِمِثْلِهِ ... وَإِنْ تُدْبِرِي أَذْهَبْ إِلَى حَالٍ بَالِيًا وَهُوَ عَلَى هَذَا التَّأَوُّلِ مَحْمُولٌ عَلَى صَلَاحِ دِينِهِمْ. "وَالْبَالُ" كَالْمَصْدَرِ، وَلَا يُعْرَفُ مِنْهُ فِعْلٌ، وَلَا تَجْمَعُهُ الْعَرَبُ إِلَّا فِي ضَرُورَةِ الشِّعْرِ فَيَقُولُونَ فِيهِ: بَالَاتٌ. الْمُبَرِّدُ: قَدْ يَكُونُ الْبَالُ فِي مَوْضِعٍ آخَرَ بِمَعْنَى الْقَلْبِ، يُقَالُ: مَا يَخْطِرُ فُلَانٌ عَلَى بَالِي، أَيْ عَلَى قَلْبِي. الْجَوْهَرِيُّ: وَالْبَالُ رَخَاءُ النَّفْسِ، [[ما بين المربعين ساقط من ك.]] يُقَالُ فُلَانٌ رَخِيُّ الْبَالِ. وَالْبَالُ: الْحَالُ، يُقَالُ مَا بَالُكَ. وَقَوْلُهُمْ: لَيْسَ هَذَا مِنْ بَالِي، أَيْ مِمَّا أُبَالِيهِ. وَالْبَالُ: الْحُوتُ الْعَظِيمُ مِنْ حِيتَانِ الْبَحْرِ، وَلَيْسَ بِعَرَبِيٍّ. وَالْبَالَةُ: وِعَاءُ الطيب، فارسي معرب، وأصله بالفارسية پيلة. قَالَ أَبُو ذُؤَيْبٍ: كَأَنَّ عَلَيْهَا بَالَةً لَطَمِيَّةً ... لها من خلال الدأيتين أريج [[اللطمية: العنبرة التي لطمت بالمسك فتفتقت به حتى نشبت رائحتها. والداي: فقر الكاهل والظهر.]]