Once, when we were with the Prophet, peace be upon him and his progeny, on one of his journeys, a Bedouin shouted at us: "O Muhammad!" The Prophet said: "What do you want?" He said: "What about a person who has an affinity and love for a community, but does not follow their acts?" The Prophet, peace be upon him and his progeny, said: "Man is with him who he loves."
Then he said: "O Muhammad, present to me al-Islam." He (i.e. the Prophet) said: "Testify that there is no god but Allah, and that I am His messenger. And establish the daily prayers, give alms (zakat), fast during the month of Ramadhan and come to the House of Allah for Hajj." He said: "O, Muhammad, do you take any reward for this?" He (i.e. the Prophet) said: "None, except the love for the nearest kins." He asked: "Do you mean my nearest kins or yours?" He (i.e. the Prophet) said: "My kins." He said: "Extend your hand so that I may give you my allegiance. There is no good in a person who does not love you and your kinsfolk."