Mishkat al-Masabih 259
وَعَنْ أَنَسِ بْنِ مَالِكٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «هَلْ تَدْرُونَ مَنْ أَجْوَدُ جُودًا؟» قَالُوا: اللَّهُ وَرَسُولُهُ أَعْلَمُ. قَالَ: «اللَّهُ تَعَالَى أَجْوَدُ جُودًا ثُمَّ أَنَا أَجْوَدُ بَنِي آدَمَ وَأَجْوَدُهُمْ مِنْ بَعْدِي رَجُلٌ عَلِمَ عِلْمًا فَنَشَرَهُ يَأْتِي يَوْمَ الْقِيَامَةِ أَمِيرًا وَحده أَو قَالَ أمة وَحده»
From Anas ibn Malik, who said: The Messenger of Allah ﷺ said: "Do you know who is the most generous in generosity?" They said: "Allah and His Messenger know best." He said: "Allah the Exalted is the most generous in generosity, then I am the most generous of the children of Adam, and the most generous of them after me is a man who learned knowledge and spread it. He will come on the Day of Resurrection as a leader on his own," or he said: "a nation on his own."