The Prophet ﷺ said, "Seven types of people will be sheltered by Allah under His shade on the Day of Resurrection, the day when there will be no shade except His shade: a just ruler, a young person who grew up worshipping Allah, a man who remembered Allah in solitude and his eyes overflowed with tears, a man whose heart is attached to the mosque, two men who loved one another for the sake of Allah, a man who was invited by a woman of status and beauty but said, 'I fear Allah,' and a man who gave charity so secretly that his left hand did not know what his right hand had given."
عن النبي ﷺ قال: سبعة يظلهم الله يوم القيامة في ظله يوم لا ظل إلا ظله: إمام عادل، وشاب نشأ في عبادة الله، ورجل ذكر الله في خلاء، ففاضت عيناه، ورجل قلبه معلق في المسجد، ورجلان تحابا في الله، ورجل دعته امرأة ذات منصب وجمال إلى نفسها، قال: إني أخاف الله، ورجل تصدق بصدقة فأخفاها حتى لا تعلم شماله ما صنعت يمينه.
Bukhari narrated it in Hudud (6806), and Muslim in Zakat (1031:91), both through the route of Ubaydullah bin Umar, from Khubayb bin Abdul-Rahman, from Hafs bin Asim, from Abu Hurairah, who mentioned it.