In His Book, Allah, Most High has informed us that He is the Protector of the believers and that He protects the righteous; subsumed by this is the fact that He safeguards what is good for them in both this life and the Hereafter, and that He will not abandon them to another. Allah, Most High, says,
“Allah is the Protector of those who have faith; He brings them out of the darkness into the light.” (al-Baqarah 2:257)
“That is because Allah is the Protector of those who have faith and because the disbelievers have no protector.” (Muhammad 47:11)
“Whoever puts his trust in Allah, He will be enough for him.” (al-Talaq 65:3)
“Is Allah not enough for His slave?” (al-Zummar 39:36)
Whoever establishes the rights of Allah, Allah will undertake to upkeep everything that will be of benefit to him in this life and the next. Whoever wants Allah to preserve him and tend to all his affairs, let him first tend to the rights of Allah upon him. Whoever does not wish to be afflicted by anything he dislikes, let him not undertake that which Allah dislikes.
One of the Salaf would go to gathering after gathering saying, ‘Whoever wants Allah to preserve his well-being, let him have taqwa of Allah.’
Al-Umari, the ascetic, would say to anyone who asked him for advice, ‘Be with Allah, Mighty and Magnificent, in exactly the same way that you want Him to be with you.’
Salih ibn Abdul-Karim said, ‘Allah, Mighty and Magnificent, says, ‘By My Might and Magnificence, I do not look at a heart that I know predominantly loves to adhere resolutely to My obedience except that I undertake to protect his circumstances and keep him firm.’
One of the earlier scriptures mentions, ‘Allah Mighty and Magnificent, says, ‘Son of Adam, will you not tell me what gives you cause to laugh? Son of Adam, have taqwa of Me and then sleep wherever you wish!’
What this means is that when you establish what is due to Allah of taqwa then do not worry any more about those things that will be good for you, for Allah knows them better than you and He will direct them to you in the best of ways.
The hadith of Jabir has the Prophet, peace and blessings of Allah be upon him, saying,
“Whoever wants to know the standing he has with Allah, let him look to himself and see the standing that Allah has with him. Allah grants a person the same standing as Allah has with that person.” (Tabarani)
This proves that Allah’s concern with His servant and His safeguarding him is commensurate to the servant’s concern with the rights of Allah, establishing them, tending to His limits and safeguarding them. Whoever’s goal is Allah’s good-pleasure, seeking to draw close to Him, knowing Him, loving Him, and serving Him, will find that Allah will treat him accordantly. Allah, Most High, says,
“Remember Me, I will remember you,” (al-Baqarah 2:152)
“Honour My contract and I will honour your contract.” (al-Baqarah 2:40)
Moreover, Allah is the kindest of the kind. He rewards a good deed tenfold and more. Whoever comes close to Him by a handspan, He comes close to him by a cubit, whoever comes close to Him by a cubit, He comes close to him by a fathom, and whoever comes to Him walking, He comes to him running. (As mentioned in a hadith recorded by Bukhari)
Whatever a person is given is from his self, and nothing afflicts him that he dislikes except that it is a result of his falling short in fulfilling the rights of his Lord. Ali, may Allah be pleased with him, said, ‘The servant must place his hope in his Lord and his Lord alone, and he has nothing to fear save his sins.’
One of them said, ‘Whoever clarifies and purifies will be purified, and whoever mixes will be treated accordingly.’
Masruq said, ‘Whoever diligently observes Allah with respect to the notions and whims of his heart, Allah will safeguard the motions of his limbs for him.’
There is much more that can be said about this, but what we have mentioned thus far suffices and all praise is due to Allah.
The Legacy of the Prophet Ibn Rajab Al-Hanbali p50-53