It is narrated from Sayyiduna Mu'adh bin Anas al-Juhani (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever gives for the sake of Allah, withholds for the sake of Allah, loves for the sake of Allah and is displeased for the sake of Allah, has perfected his faith."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17547