HAKIM 7028:
from muʿāwiyah b. Abū Sufyān Innī —
[Machine] I heard the Messenger of Allah ﷺ say, "Whoever closes his door to those in need, to companionship, and to shelter, then Allah will close the door of the heavens to him, despite his need, poverty, and shelter." Sahih.
الحاكم ٧٠٢٨:
عن معاويه بن ابو سفيان اني —
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ أَغْلَقَ بَابَهُ دُونَ ذَوِي الْحَاجَةِ وَالْخَلَّةِ وَالْمَسْكَنَةِ أَغْلَقَ اللَّهُ بَابَ السَّمَاءِ دُونَ خَلَّتِهِ وَحَاجَتِهِ وَفَقْرِهِ وَمَسْكَنَتِهِ» صحيح
hadithunlocked.com