Sayyiduna Ibn al-Khasasiyah (may Allah be pleased with him) said: I came to the Messenger of Allah (peace and blessings be upon him) to pledge allegiance to him on Islam, and he (peace and blessings be upon him) laid down the following conditions for me: "To bear witness that there is no true god except Allah and that Muhammad (peace and blessings be upon him) is His servant and Messenger, to perform the five daily prayers, to fast in Ramadan, to pay zakah, to perform Hajj to the House of Allah, and to wage jihad in the path of Allah." Ibn al-Khasasiyah (may Allah be pleased with him) said: I said: O Messenger of Allah, there are two of these which I do not have the strength to do, that is (zakah and jihad). As for zakah, I have only ten camels on which my family subsists, that is, we use their milk and ride them. As for jihad, people claim that whoever flees from the battlefield returns with the wrath of Allah, so I fear that when I am present on the battlefield I will dislike death, come to love my own life and become greedy for it. He said: The Noble Messenger (peace and blessings be upon him) closed his hand, then shook it and said: "No charity and no jihad; then how can you enter Paradise?" Ibn al-Khasasiyah (may Allah be pleased with him) said: Then I said: O Messenger of Allah, I pledge allegiance to you. Then he (peace and blessings be upon him) took my pledge on all of these things.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17796