The Prophet (peace and blessings be upon him) said:
"Whoever loves for the sake of Allah, hates for the sake of Allah, gives for the sake of Allah and withholds for the sake of Allah has perfected his faith."
Hadith Referenceصحیح الجامع الصغیر / حرف الميم / 5965