‘Abdallah b. Hubshi told that the Prophet was asked which deed was most excellent and replied, “Standing long in prayer." He was asked what sadaqa was most excellent and replied, “The effort of one who possesses little.” He was asked what hijra was most excellent and replied, “That of one who forsakes what God has prohibited.” He was asked what jihad was most excellent and replied, “That of one who strives against the polytheists with his property and his person.” He was asked what manner of being killed was most honourable and replied, “That of one whose blood is shed and whose steed is wounded.”
Abu Dawud transmitted it Nasa’i’s version says that the Prophet was asked which actions were most excellent and replied, “Faith which contains no doubt, jihad which contains no unfaithfulness regarding spoil, and a pilgrimage which is accepted.” He was asked what prayer was most excellent and replied, “Standing long in devotion.” The two versions agree about the remainder.
Abu Huraira told that when one of God’s Messenger’s companion came upon a mountain path containing a small spring of fresh water and was delighted by it, he expressed a desire to withdraw from the people and stay in that path. He mentioned that to God’s Messenger, and he replied, “Do not do it, for when any of you remains in God’s path it is more excellent than prayer in his house during seventy years. Do you not want* God to forgive you and bring you into paradise? Fight* in God's path. He who fights in God's path as long as the time between two milkings of a she-camel will be assured of paradise."