يُثَبِّتُ ٱللَّهُ ٱلَّذِينَ ءَامَنُوا۟ بِٱلْقَوْلِ ٱلثَّابِتِ فِى ٱلْحَيَوٰةِ ٱلدُّنْيَا وَفِى ٱلْءَاخِرَةِ ۖ وَيُضِلُّ ٱللَّهُ ٱلظَّٰلِمِينَ ۚ وَيَفْعَلُ ٱللَّهُ مَا يَشَآءُ٢٧
Allah keeps those who believe steadfast with the firm Word [of faith] in the life of this world and in the Hereafter. But Allah causes to stray the wrongdoers; Allah does whatever He wills.
[ ↗ Study from physical print edition ]Allah keeps firm those who believe, with the firm word, in worldly life and in the Hereafter. And Allah sends astray the wrongdoers. And Allah does what He wills.
[ ↗ Study from physical print edition ]27. Through the monotheistic word, Allah makes the believers firm in their belief in the world until they die upon belief, as well as in the Transitory Stage in their graves when they are asked, and He will make them firm on the Day of Judgment. By causing them to associate partners with Him and disbelieve in Him, Allah will lead the wrongdoers away from guidance and what is correct. Allah does as He wishes when it comes to leading astray whomever He wants in accordance with His justice and guiding whomever He wants in accordance with His grace. Allah cannot be coerced (may He be glorified).
God confirms those who believe by a firm saying namely the profession of His Oneness in the life of this world and in the Hereafter that is in the grave when the two angels question them about their Lord their religion and their Prophet and they respond correctly as reported in the hadīth of the two Shaykhs al-Bukhārī and Muslim; and God sends astray the evildoers the disbelievers and therefore they are not guided to the correct response saying instead ‘We do not know’ as reported in the hadīth; and God does what He will.
Towards the end of the verse (27), it was said: وَيُضِلُّ اللَّـهُ الظَّالِمِينَ (And Allah lets the unjust go astray). It means: As for the believers, Allah Ta` ala keeps them firm on Kalimah Taiyyibah, the 'stable word' as a result of which things of comfort assemble around them right from the grave. But, the unjust, that is, the disbelievers and polytheists, remain deprived of this Divine help and support. They cannot answer the questions asked in the grave by angles Munkar and Nakir correctly. The out-come is that they start experiencing a sort of punishment right from that point onwards.In the last sentence of verse 27, it was said: وَيَفْعَلُ اللَّـهُ مَا يَشَاءُ (And Allah does what He wills). It means that there is no power which can block His intention and will. Revered Sahabah, Sayyidna Ubaiyy, ibn Ka'b, ` Abdullah ibn Mas’ ud and Hudhayfah ibn Yamani ؓ have said: For a believer, it is mandatory to believe that everything received by him or her was received through the intention and will of Allah. Not to have received it was impossible. Similarly, what was not received, it was not possible to have received that. And they said: If you do not believe in it, and place your trust in that, your abode is Hell.
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ﴾ قَالَ ابْنُ عَبَّاسٍ: هُوَ لَا إِلَهَ إِلَّا اللَّهُ. وَرَوَى النَّسَائِيُّ عَنِ الْبَرَاءِ قَالَ قَالَ: "يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَياةِ الدُّنْيا وَفِي الْآخِرَةِ" نَزَلَتْ فِي عَذَابِ الْقَبْرِ، يُقَالُ: مَنْ رَبُّكَ؟ فَيَقُولُ: رَبِّيَ اللَّهُ وَدِينِي دِينُ مُحَمَّدٍ، فَذَلِكَ قَوْلُهُ: "يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَياةِ الدُّنْيا وَفِي الْآخِرَةِ". قلت: وَقَدْ جَاءَ هَكَذَا مَوْقُوفًا فِي بَعْضِ طُرُقِ مُسْلِمٍ عَنِ الْبَرَاءِ [أَنَّهُ] قَوْلُهُ [[أي قول البراء.]]، وَالصَّحِيحُ فِيهِ الرَّفْعُ كَمَا فِي صَحِيحِ مُسْلِمٍ وَكِتَابِ النَّسَائِيِّ وَأَبِي دَاوُدَ وَابْنِ مَاجَهْ وَغَيْرِهِمْ، عَنِ [[في ى: قال البراء.]] الْبَرَاءِ عَنِ النَّبِيِّ ﷺ، وَذَكَرَ الْبُخَارِيُّ، حَدَّثَنَا جَعْفَرُ بْنُ عُمَرَ، قَالَ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ عَنِ النَّبِيِّ ﷺ قَالَ: "إذا أُقْعِدَ الْمُؤْمِنُ فِي قَبْرِهِ أَتَاهُ آتٍ ثُمَّ يَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ فَذَلِكَ قَوْلُهُ" يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَياةِ الدُّنْيا وَفِي الْآخِرَةِ". وَقَدْ بَيَّنَّا هَذَا الْبَابَ فِي كِتَابِ "التَّذْكِرَةِ" وَبَيَّنَّا هُنَاكَ مَنْ يُفْتَنُ فِي قَبْرِهِ وَيُسْأَلُ، فَمَنْ أَرَادَ الْوُقُوفَ عَلَيْهِ تَأَمَّلَهُ هُنَاكَ. وَقَالَ سَهْلُ بْنُ عَمَّارٍ: رَأَيْتُ يَزِيدَ بْنَ هَارُونَ فِي الْمَنَامِ بَعْدَ مَوْتِهِ، فَقُلْتُ لَهُ: مَا فَعَلَ اللَّهُ بِكَ؟ فَقَالَ: أَتَانِي فِي قَبْرِي مَلَكَانِ فَظَّانِ غَلِيظَانِ، فَقَالَا: مَا دِينُكَ وَمَنْ رَبُّكَ وَمَنْ نَبِيُّكَ؟ فَأَخَذْتُ بِلِحْيَتِي الْبَيْضَاءِ وَقُلْتُ: أَلِمِثْلِي يُقَالُ هَذَا وَقَدْ عَلَّمْتُ النَّاسَ جَوَابَكُمَا ثَمَانِينَ سَنَةً؟! فَذَهَبَا وَقَالَا [[في التهذيب غير هذا فليراجع.]]: أَكَتَبْتَ عَنْ حَرِيزِ بْنِ عُثْمَانَ؟ قُلْتُ نَعَمْ! فَقَالَا: إِنَّهُ كَانَ يُبْغِضُ [عَلِيًّا] [[في الأصول "عثمان" ومثله في كتاب "التذكرة" للمؤلف. والذي في "تهذيب التهذيب" أنه كان يبغض عليا.]] فَأَبْغَضَهُ اللَّهَ. وَقِيلَ: مَعْنَى، "يُثَبِّتُ اللَّهُ" يُدِيمُهُمُ اللَّهُ عَلَى الْقَوْلِ الثَّابِتِ، وَمِنْهُ قَوْلُ عَبْدِ اللَّهِ بْنِ رَوَاحَةَ: يُثَبِّتُ اللَّهُ مَا آتَاكَ مِنْ حَسَنٍ ... تَثْبِيتَ مُوسَى وَنَصْرًا كَالَّذِي نُصِرَا وَقِيلَ: يُثَبِّتُهُمْ فِي الدَّارَيْنِ جَزَاءً لَهُمْ عَلَى الْقَوْلِ الثَّابِتِ. وَقَالَ الْقَفَّالُ وَجَمَاعَةٌ: "فِي الْحَياةِ الدُّنْيا" أَيْ فِي الْقَبْرِ، لِأَنَّ الْمَوْتَى فِي الدُّنْيَا إِلَى أَنْ يُبْعَثُوا، "وَفِي الْآخِرَةِ" أَيْ عِنْدَ الْحِسَابِ، وَحَكَاهُ الْمَاوَرْدِيُّ عَنِ الْبَرَاءِ قَالَ: الْمُرَادُ بِالْحَيَاةِ الدُّنْيَا المسألة في القبر، وبالآخرة المسألة فِي الْقِيَامَةِ: وَيُضِلُّ اللَّهُ الظَّالِمِينَ أَيْ عَنْ حُجَّتِهِمْ فِي قُبُورِهِمْ كَمَا ضَلُّوا فِي الدُّنْيَا بِكُفْرِهِمْ فَلَا يُلَقِّنُهُمْ كَلِمَةَ الْحَقِّ، فَإِذَا سُئِلُوا فِي قُبُورِهِمْ قَالُوا: لَا نَدْرِي، فَيَقُولُ: لَا دَرَيْتَ وَلَا تَلَيْتَ [[قيل في معنى "ولا تليت": ولا تلوت، أي لا قرأت، من تلا يتلوا، وقالوا تليت بالياء ليعاقب بها الياء في دريت.]]، وَعِنْدَ ذَلِكَ يُضْرَبُ بِالْمَقَامِعِ [[المقامع: سياط من حديد رءوسها معوجة.]] عَلَى مَا ثَبَتَ فِي الْأَخْبَارِ، وَقَدْ ذَكَرْنَا ذَلِكَ فِي كِتَابِ "التَّذْكِرَةِ". وَقِيلَ: يُمْهِلُهُمْ حَتَّى يَزْدَادُوا ضَلَالًا فِي الدُّنْيَا. (وَيَفْعَلُ اللَّهُ مَا يَشاءُ) مِنْ عَذَابِ قَوْمٍ وَإِضْلَالِ قَوْمٍ. وَقِيلَ: إِنَّ سَبَبَ نُزُولِ هَذِهِ الْآيَةِ مَا رُوِيَ عَنِ النَّبِيِّ ﷺ لَمَّا وصف مسألة مُنْكَرٍ وَنَكِيرٍ وَمَا يَكُونُ مِنْ جَوَابِ الْمَيِّتِ قال عمر: يا رسول الله يكون مَعِي عَقْلِي؟ قَالَ: "نَعَمْ" قَالَ: كُفِيتُ إِذًا، فأنزل الله عز وجل هذه الآية.