The Messenger of Allah ﷺ said, "There are seven whom Allah will shade in His shade on the Day when there is no shade except His shade. A just ruler. A young person who grew up worshipping Allah. A man whose heart is attached to the mosque from the time he leaves it until he returns to it. Two people who love one another for the sake of Allah, meeting upon that and parting upon that. A man who remembers Allah in solitude and his eyes overflow with tears. A man who is invited by a woman of status and beauty, but says, 'I fear Allah.' And a man who gives charity so secretly that his left hand does not know what his right hand has spent."
حدثنا الأنصاري حدثنا معن حدثنا مالك عن خبيب بن عبد الرحمن عن حفص بن عاصم
أن رسول الله ﷺ قال سبعة يظلهم الله في ظله يوم لا ظل إلا ظله إمام عادل وشاب نشأ بعبادة الله ورجل كان قلبه معلقا بالمسجد إذا خرج منه حتى يعود إليه ورجلان تحابا في الله فاجتمعا على ذلك وتفرقا ورجل ذكر الله خاليا ففاضت عيناه ورجل دعته امرأة ذات حسب وجمال فقال إني أخاف الله ورجل تصدق بصدقة فأخفاها حتى لا تعلم شماله ما تنفق يمينه
Agreed upon [by Bukhari and Muslim]. Bukhari narrated it in adhan, chapter of one who sits in the masjid awaiting the prayer, and the merit of masjids, no. 660, from the hadith of Khubayb through this route, and Muslim narrated it, no. 1031, from the hadith of Malik through this route, and it is in Muwatta, 2/952, 953 (Yahya), and the hadith of Ubaydullah bin Umar, its chain of transmission is sahih.