It is narrated from Sayyiduna Abdullah bin Hubshi al-Khath'ami (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) was asked: "Which deeds are the most virtuous?" He (peace and blessings be upon him) said: "Faith in which there is no doubt, jihad in which there is no ghulul (stealing from the spoils of war), and an accepted Hajj (Hajj mabrur)." It was asked: "Which prayer is the most virtuous?" He (peace and blessings be upon him) said: "The one in which the standing is long." It was asked: "Which charity is the most virtuous?" He (peace and blessings be upon him) said: "The charity given through the effort and hardship of one who has little." It was asked: "Which emigration (hijrah) is the most virtuous?" He (peace and blessings be upon him) said: "That of the one who abandons what Allah has forbidden." It was asked: "Which jihad is the most virtuous?" He (peace and blessings be upon him) said: "That of the one who strives against the polytheists with his wealth and his life." It was asked: "Which martyrdom is the most honourable?" He (peace and blessings be upon him) said: "That of the one whose fine horse is hamstrung and whose blood is shed."
Imam Abu Dawud (may Allah have mercy on him) narrated this hadith from Imam Ahmad bin Hanbal (may Allah have mercy on him).
And Imam al-Nasa'i (may Allah have mercy on him) narrated it through Abd al-Wahhab bin al-Hakam al-Warraq (may Allah have mercy on him) from Hajjaj (may Allah have mercy on him).
And he also narrated part of it through Harun bin Abdullah (may Allah have mercy on him) from Hajjaj (may Allah have mercy on him).