And when Ibrahim and Ismail were raising the foundations of the House (the Ka’bah) (saying):
“Our Rabb! Accept (this service) from us.
Verily! You are the All-Hearer, the All-Knower.”
The building of the Ka’bah is no small deed. When we give charity to build masajid, we hope to receive a share of the reward. So imagine the reward of someone putting back the foundation of Ka’bah with their own hands.
And yet, even with the fact that Ibrahim a.s. is a messenger of Allah, even when Allah said that he’ll be made as Imam for mankind to follow [Qur’an 2:124], even after all those tests that he passed, he was still humble & unsure if what he was doing was good enough for Allah. So he made du’a for Allah to accept it from him & Ismail a.s.
The important lesson here is that we should be in a state of humility with regard to our good deeds. If we’re not constantly seeking Allah’s acceptance, because we assume that our deeds are accepted, then what will slowly seep into our character is self-righteousness. We begin to think we’re good, we feel we’re saved from hypocrisy or weakness of Iman – this is a dangerous attitude to have.
What we should have is a healthy balance of fear & hope that our deeds will be accepted by Allah – this is what the du’a teaches us. Allah s.w.t. is the All-Hearer, who hears our du’a; and He is also the All-Knower who knows the unspoken intention, sincerity & desperation behind our du’a.
Be humble infront of Allah, the One who gives you the capacity to do good in the first place.