Sunan Ibn Majah, Book 37, Hadith 4484 (In-Book) ⓘ
It was narrated from Anas bin Malik that the Messenger of Allah said: “Whoever asks for Paradise, three times, Paradise will say: “O Allah, admit him to Paradise.” And whoever asked to be saved from Hell, three times, Hell will say: “O Allah, save him from Hell.”
حَدَّثَنَا هَنَّادُ بْنُ السَّرِيِّ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنْ أَبِي إِسْحَاقَ، عَنْ بُرَيْدِ بْنِ أَبِي مَرْيَمَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " مَنْ سَأَلَ الْجَنَّةَ ثَلاَثَ مَرَّاتٍ قَالَتِ الْجَنَّةُ اللَّهُمَّ أَدْخِلْهُ الْجَنَّةَ وَمَنِ اسْتَجَارَ مِنَ النَّارِ ثَلاَثَ مَرَّاتٍ قَالَتِ النَّارُ اللَّهُمَّ أَجِرْهُ مِنَ النَّارِ " .
also referenced under: Hadith 4340 (Reference) & Volume 5, Book 37, Hadith 4340 (DarusSalam)