Ibn ul Qayyim (rh) was asked this question and he responded in detail stating:
Worshippers have four views regarding the worship which is most beneficial and worthy of preference:
- The best worship is the most difficult: Some hold that the most beneficial and best types of worship are the ones that are hardest and most difficult for the person because they are farthest from his own desire and inclination, and this is the essence of worship. They say that the reward is in proportion to the difficulty, based on a narration which has no basis in the Sunnah, “The best deeds are the most arduous.” These are the people who struggle to subjugate their souls, saying, “That is the only way to make the soul upright since its nature is to be lazy, seek ease and become attached to the world. It must be disciplined by fears and hardships.”
- The best worship is detachment from the world: Others assert that the most excellent of worship is self-sufficiency and indifference to the world, getting along on the least possible of its provision and being unconcerned about its pleasures. These are of two types:
a) The common people who consider it as an end in itself, working hard at it and calling others to practice it, claiming that it is preferable to scholarship and other worship. In fact, they see it as the object of all worship.
b) The educated, who consider it as a means of devoting oneself to Allah, making Him the only concern, clearing the heart of everything but love of Him, repenting to Him, relying on Him and seeking His pleasure. They see the best worship in assemblies for Allah, in continually remembering Him in the heart and with the tongue, being conscious of His observance and avoiding everything that distracts the heart from that.
- That the best worship is that which benefits others: The advocates of this view declare that a form of worship that benefits another is better than that which benefits the worshipper alone. They consider helping the poor, working for the interests of other people and fulfilling their needs, assisting them through their wealth, influence or other assets is best, so they exert their effort toward that.
They argue that individual worship is limited to the worshipper while assisting someone for the acceptance of Allah is a form of worship that benefits both the worshipper and his recipient. And that is why the scholar is far superior to one who spends all his time in prayer, fasting and mention of Allah.
They cite sayings of the Prophet, such as: “That Allah guide because of you one man is better for you than [obtaining] red camels.”[al-Bukhari] “Whoever invites to right guidance will have reward equal to the rewards of those who follow it without it lessening anything from their rewards.” [Ahmad and Muslim] “Indeed, Allah and His angels, even the ant in its hole and even the fish in the sea, bless those who teach good to the people.” [at-Tabarani]
Thus, they argue that when a worshipper dies his deeds are ended, but the deeds of one who has benefited others do not end and he will continue to benefit after his death as long as his benefit to them remains. And they argue that the prophets were sent to people in order to guide and benefit them in this life and the next, not to withdraw from society and become ascetics. And that is why the Prophet did not approve of those who wanted to isolate themselves for worship instead of mixing with the people. They see that going one’s own way to serve Allah by being kind and beneficial to His servants is better than gathering to remember Allah without doing that.
- That the best worship is the priority of the moment: Still others contend that the best worship is to please the Lord continuously by doing whatever is required at that particular time. For example, the best worship at the time of prayer is prayer, and at the time of jihad it is jihad, provided that the duty is performed seeking the approval of Allah and exerting effort to do it in the best possible way.
The priority of the moment might be serving a guest or fulfilling the right of the spouse, parents or children. Before dawn it could be prayer, recitation of the Qur’an, supplication or seeking Allah’s forgiveness. During the day it could be guiding or teaching someone, assisting or aiding someone, condoling or encouraging someone, visiting a patient or joining a funeral. Such matters should not be postponed and take precedent over one’s usual voluntary prayers, fasts and Qur’an recitation.
There are even priorities within an act of worship; for instance, the best when reading or reciting the Qur’an is concentration, exerting effort to understand and determination to apply it to one’s own life. Thus, the best worship at every moment is that which would be most pleasing to Allah in a given circumstance and its performance in the way most pleasing to Allah.