Hadith 30

Abu Umama reported that God’s messenger said, “If anyone loves for God’s sake, hates for God’s sake, gives for God’s sake and withholds for God's sake, he will have perfected faith.” Abu Dawud transmitted it; and Tirmidhi transmitted it from Mu'adh b. Anas with a transposition of phrases, including “he will have perfected his faith.”

وَعَنْ أَبِي أُمَامَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ أَحَبَّ لِلَّهِ وَأَبْغَضَ لِلَّهِ وَأَعْطَى لِلَّهِ وَمَنَعَ لِلَّهِ فَقَدِ اسْتكْمل الْإِيمَان» . رَوَاهُ أَبُو دَاوُد رَوَاهُ التِّرْمِذِيُّ عَنْ مُعَاذِ بْنِ أَنَسٍ مَعَ تَقْدِيمٍ وَتَأْخِير وَفِيه: «فقد اسْتكْمل إيمَانه»

Reference: 5600301
In-book reference: Book 1, Hadith 30, 31
Hadith 30 - Faith - Mishkat al-Masabih - Sunnah.com