“…They say that the best worship is to do what will please the Lord at every time in accordance with what that particular time calls for.
So, the best acts of worship during the time of Jihad is Jihad, even if this leads to abandoning certain rituals such as night prayer, fasting, etc. In fact, this applies even if you are to not pray a complete obligatory prayer as you would in times of safety and calm.
And the best thing to do when you have a guest, for example, is to see to his rights as a guest and to preoccupy yourself with that instead of the recommended rituals you would usually engage in at the time.
Such is also the case in fulfilling the rights of your wife and family.
The best thing to do during the early morning hours is to be preoccupied with prayer, Qur’an, supplication, remembrance of Allah, and asking His Forgiveness.
The best thing to do when teaching a student or ignorant person is to completely turn your attention towards teaching him.
The best thing to do during the call to prayer is to leave whatever rituals you are engaged in and to occupy yourself with repeating after the one making the call.
The best thing to do during the five prayers is to try your best in carrying them out in the best possible manner and to rush to perform them right away, and to go out to the mosque – even if it is far – is better.
The best thing to do when someone needs help physically or financially is to busy yourself with helping that person, relieving his distress, and to place this as a priority over your private worship that you’d usually be engaged in.
The best thing to do when reciting the Qur’an is to have your heart and mind present in order to reflect over and understand it as if Allah is personally addressing you with it. So, to have your heart present to understand and reflect over it and to have the zeal to implement its commands is greater than the attentiveness of the heart of one who has received a message from the ruler to that message.
The best thing to do when standing at ‘Arafah is to exert yourself in being humble before Allah, supplicating, and remembering Him instead of fasting.
The best thing to do during the first ten days of Dhu al-Hijjah is to increase in worship, especially saying ‘Allahu Akbar,’ ‘La ilaha illa Allah,’ and ‘al-hamdu lil-Lah.’ This is better here than the Jihad that is not an individual obligation.
The best thing to do during the last ten nights of Ramadan is to stay in the mosque and to seclude yourself in it without mixing with others and being distracted by them. This is to the point that it is better than teaching them and practicing the Qur’an with them according to many of the scholars.
The best thing to do when you have a brother who is sick or dying is to visit him, attend his funeral, and to prefer this over your private worship or social activities.
And the best thing to do when a disaster befalls you or people hurt you is to fulfill the obligation of having patience while continuing to interact with them and not running from them, since the believer who mixes with people and is patient despite their harm to him is better than the believer who doesn’t mix with them and isn’t harmed by them.
And the best thing you can interact with them in is whatever is good, and this is better than to seclude yourself from them in such a case. As for bad things, it is better to seclude yourself from them in such a case. However, if you know that mixing with in this case will help remove or reduce the bad, it is better to mix with them than to abandon them.
So, the best thing to do in every time and situation is whatever will please Allah at that particular time and situation and to focus on the foremost obligation at that particular time and whatever it necessitates and requires…”
[Ibn al-Qayyim; ‘Madarij as-Salikin’ (1/188)]