It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that a man from Banu Tamim came to the Messenger of Allah (peace and blessings be upon him) and said: "O Messenger of Allah, I am a man of great wealth, with a family, and guests and visitors keep coming to my house; so tell me how I should spend and what course I should adopt." So the Messenger of Allah (peace and blessings be upon him) said: "Take out the zakah from your wealth, for it is a purification that will purify you; maintain ties with your relatives; and recognise the right of the one who asks, the neighbour and the poor." He said: "O Messenger of Allah, make it less for me." He (peace and blessings be upon him) said: "Give the relative his right, and the poor and the traveller as well, and do not be extravagant." He said: "O Messenger of Allah, this is enough for me: when I have paid the zakah to your messenger, am I then free of it before Allah and His Messenger?" So the Messenger of Allah (peace and blessings be upon him) said: "Yes, when you have paid the zakah to the Messenger of Allah (peace and blessings be upon him), you are free of it; you will have its reward, and its sin will be upon the one who alters it."
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is narrated from Sayyiduna Anas (may Allah be pleased with him) only with this chain; al-Layth (may Allah have mercy on him) is alone in narrating it."
Hadith Referenceالمعجم الأوسط / باب الميم / 8802
Hadith Takhrij«أخرجه الحاكم فى «المستدرك» برقم: 3394، والبيهقي فى «السنن الكبرى» برقم: 7378، وأحمد فى «مسنده» برقم: 12589، وابن حجر فى «المطالب العالية» برقم: 906، 960»