They both conclude with something similar or at least in subject matter they’re similar. Allah says:
Except that a good deed has been written for them. No doubt Allah does not waste the compensation of those who excel.
In the next verse, He says:
Except that whatever has been done has been written for them so he can compensate them with the best of what they used to do.
The thing that I want to highlight here is both verses end with compensation “Allah will give them what was written for them” except in one of them, Allah mentioned what was written for them was a good deed and in the other verse, He didn’t mention deed. So that’s the subtlety here.
In one case, a good deed was written, which shall be rewarded and the other ‘it’ was written for them not mentioning ‘a good deed was written for them.
The second one, in which the word ‘deed’ isn’t mentioned, Allah says:
They don’t spend a single amount to spend not small not big, nor do they pass through a single valley that except that it’s written for them.
Spending is an act, yes or no? It is. Passing through a valley for the sake of Allah, an act? It is. So they are acts and Allah doesn’t mention they’re acts because it’s obvious so He doesn’t have to because everybody knows those are acts.
But look at the first verse:
That’s because there is never a time that thirst strikes them, there is never a time that exhaustion strikes them, there is never a time that extreme hunger strikes them in the Path of Allah.
So I’m going to highlight these three for now: thirst, exhaustion, hunger. None of those are acts. You’re sitting there thirsty is not an act; you’re tired, that’s not an act; you’re hungry, starving, it’s not an act. But when it’s for Allah, it’s an act. Allah says:
It written as a good deed for them.
Subhanallah! You’re sitting there thirsty when you’re fasting, every second that you’re fasting is considered an act. Even when you’re sleeping, it’s considered an act. You’re tired, you finished working, you were doing something for the sake of Allah, now you’re tired… that’s an act according to Allah.
You’re lying in bed with your back hurting, I hope Allah counts for that one. Allah is not just counting what you did, He’s counting you lying in bed tired. That’s been written for you.
That’s the beauty of these words. What you didn’t expect to be counted as a deed, Allah count it as a deed.
May Allah reward us for everything we do and everything that He considers we do.