هُنَالِكَ ٱلْوَلَٰيَةُ لِلَّهِ ٱلْحَقِّ ۚ هُوَ خَيْرٌۭ ثَوَابًۭا وَخَيْرٌ عُقْبًۭا٤٤
In that situation, the authority only rests with Allah, the True God. He is best in reward and best in outcome.
[ ↗ Study from physical print edition ]There the authority is [completely] for Allah, the Truth. He is best in reward and best in outcome.
[ ↗ Study from physical print edition ]44. In that situation, victory is for Allah alone. He, may He be glorified, is best in rewarding His friends who have faith, as He multiplies the reward for them, and He is best in outcome for them.
There that is on the Day of Resurrection all protection walāya; if read wilāya then it means ‘sovereignty’ belongs to God the True if read as al-haqqu then it is as an adjective qualifying walāya or wilāya or if read as al-haqqi then it is an attribute of God’s Majesty. He is better at rewarding than the rewarding of any person other than Him if such a person were in a position to reward; and best in consequence read ‘uquban or ‘uqban He is best in terms of the consequence for believers both thawāban ‘rewarding’ and ‘uqban ‘consequence’ are in the accusative for the purpose of specification.
The word: حُسبانا - (husbana) in verse 40 has been explained by Qatadah as 'punishment' in an absolute sense, by Sayyidna Ibn ` Abbas ؓ as 'fire' and by some as 'stoning.' As for what appears after that in the Qur'an: أُحِيطَ بِثَمَرِهِ (And its produce was struck by destruction from all sides - 42), it obviously means that some major calamity hit his gardens, wealth and things of luxury reducing everything to ruins. The Qur'an does not mention any particular calamity explicitly. It appears that, some fire came down from the skies and burnt the whole thing - as it appears in the Tafsir of 'husban' by Sayyidna Ibn 'Abbas ؓ who has explained it as 'fire.' And Allah knows best.
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿هُنالِكَ الْوَلايَةُ لِلَّهِ الْحَقِّ﴾ اخْتُلِفَ فِي الْعَامِلِ فِي قَوْلِهِ "هُنالِكَ" وَهُوَ ظَرْفٌ، فَقِيلَ: الْعَامِلُ فِيهِ "وَلَمْ تَكُنْ لَهُ فِئَةٌ" وَلَا كَانَ هُنَالِكَ، أَيْ مَا نُصِرَ وَلَا انْتَصَرَ هُنَالِكَ، أَيْ لِمَا أَصَابَهُ مِنَ الْعَذَابِ. وَقِيلَ: تَمَّ الْكَلَامُ عِنْدَ قَوْلِهِ "مُنْتَصِراً". وَالْعَامِلُ فِي قَوْلِهِ "هُنالِكَ": "الْوَلايَةُ". وَتَقْدِيرُهُ عَلَى التَّقْدِيمِ وَالتَّأْخِيرِ: الْوَلَايَةُ لِلَّهِ الْحَقِّ هُنَالِكَ، أَيْ فِي الْقِيَامَةِ. وَقَرَأَ أَبُو عَمْرٍو وَالْكِسَائِيُّ "الْحَقُّ" بِالرَّفْعِ نَعْتًا لِلْوِلَايَةِ. وَقَرَأَ أَهْلُ الْمَدِينَةِ وَحَمْزَةُ "الْحَقِّ" بِالْخَفْضِ نَعْتًا لِلَّهِ عَزَّ وَجَلَّ، وَالتَّقْدِيرُ: لِلَّهِ ذِي الْحَقِّ. قَالَ الزَّجَّاجُ: وَيَجُوزُ "الْحَقَّ" بِالنَّصْبِ عَلَى الْمَصْدَرِ وَالتَّوْكِيدِ، كَمَا تَقُولُ: هَذَا لَكَ حَقًّا. وَقَرَأَ الْأَعْمَشُ وَحَمْزَةُ وَالْكِسَائِيُّ "الْوِلَايَةُ" بِكَسْرِ الْوَاوِ، الْبَاقُونَ بِفَتْحِهَا، وَهُمَا بِمَعْنًى وَاحِدٍ كَالرَّضَاعَةِ وَالرِّضَاعَةِ. وَقِيلَ: الْوَلَايَةُ بِالْفَتْحِ مِنَ الْمُوَالَاةِ، كَقَوْلِهِ" اللَّهُ وَلِيُّ الَّذِينَ آمَنُوا [[راجع ج ٣ ص ٢٨٢ فما بعد.]] ". "ذلِكَ بِأَنَّ اللَّهَ مَوْلَى الَّذِينَ آمَنُوا" [[راجع ج ١٦ ص ٢٣٤.]]. وَبِالْكَسْرِ يَعْنِي السُّلْطَانَ وَالْقُدْرَةَ وَالْإِمَارَةَ، كَقَوْلِهِ" وَالْأَمْرُ يَوْمَئِذٍ لِلَّهِ [[راجع ج ١٩ ص ٢٤٧.]] " أَيْ لَهُ الْمُلْكُ وَالْحُكْمُ يَوْمئِذٍ، أَيْ لَا يُرَدُّ أَمْرُهُ إِلَى أَحَدٍ، وَالْمُلْكُ فِي كُلِّ وَقْتٍ لِلَّهِ وَلَكِنْ تَزُولُ الدَّعَاوَى وَالتَّوَهُّمَاتُ يَوْمَ الْقِيَامَةِ. وَقَالَ أَبُو عُبَيْدٍ: إِنَّهَا بِفَتْحِ الْوَاوِ لِلْخَالِقِ، وَبِكَسْرِهَا لِلْمَخْلُوقِ. (هُوَ خَيْرٌ ثَواباً) أَيِ اللَّهُ خَيْرٌ ثَوَابًا فِي الدُّنْيَا وَالْآخِرَةِ لِمَنْ آمَنَ بِهِ، وَلَيْسَ ثَمَّ غَيْرُ يُرْجَى مِنْهُ، وَلَكِنَّهُ أَرَادَ فِي ظَنِّ الْجُهَّالِ، أَيْ هُوَ خَيْرٌ مَنْ يُرْجَى. (وَخَيْرٌ عُقْباً) قَرَأَ عَاصِمٌ وَالْأَعْمَشُ وَحَمْزَةُ وَيَحْيَى "عُقْباً" سَاكِنَةُ الْقَافِ، الْبَاقُونَ بِضَمِّهَا، وَهُمَا بِمَعْنًى وَاحِدٍ، أَيْ هُوَ خَيْرٌ عاقبة لِمَنْ رَجَاهُ وَآمَنَ بِهِ. يُقَالُ: هَذَا عَاقِبَةُ أمر فلان وعقباه وعقبه، أي آخره.