Mishkat al-Masabih
Supplications — Hadith #2371
وَعَنْ أَنَسٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:
" مَنْ سَأَلَ اللَّهَ الْجَنَّةَ ثَلَاثَ مَرَّاتٍ قَالَتِ الْجَنَّةُ: اللَّهُمَّ أَدْخِلْهُ الْجَنَّةَ وَمَنِ اسْتَجَارَ مِنَ النَّارِ ثَلَاثَ مَرَّاتٍ قَالَتِ النَّارُ: اللَّهُمَّ أَجِرْهُ مِنَ النَّارِ " رَوَاهُ التِّرْمِذِيُّ وَالنَّسَائِيّ
Anas reported God’s messsenger as saying that if anyone asks God for paradise three times, paradise will say, ‘‘O God, bring him into paradise;” and if anyone asks for protection from hell three times, hell will say, “O God, grant him protection from hell.”
Tirmidhi and Nasa’i transmitted it.