Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:4291Jubārah b. al-Mughallis > ʿAbd al-Aʿlá b. Abū al-Musāwir > Abū Burdah from his father

“The Messenger of Allah ﷺ said: ‘When Allah gathers all creatures on the Day of Resurrection, permission will be given to the nation of Muhammad to prostrate, so they will prostrate to Him for a long time. Then it will be said: “Raise your heads, for a certain number of you will go to Hell-fire and these will be your ransom from Hell.”*  

ابن ماجة:٤٢٩١حَدَّثَنَا جُبَارَةُ بْنُ الْمُغَلِّسِ حَدَّثَنَا عَبْدُ الأَعْلَى بْنُ أَبِي الْمُسَاوِرِ عَنْ أَبِي بُرْدَةَ عَنْ أَبِيهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا جَمَعَ اللَّهُ الْخَلاَئِقَ يَوْمَ الْقِيَامَةِ أُذِنَ لأُمَّةِ مُحَمَّدٍ بِالسُّجُودِ فَيَسْجُدُونَ لَهُ طَوِيلاً ثُمَّ يُقَالُ ارْفَعُوا رُءُوسَكُمْ قَدْ جَعَلْنَا عِدَّتَكُمْ فِدَاءَكُمْ مِنَ النَّارِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:1644a

“The Messenger of Allah ﷺ said: ‘When Allah gathers all creatures on the Day of Resurrection, permission will be given to the nation of Muhammad to prostrate, so they will prostrate to Him for a long time. Then it will be said: “Raise your heads, for a certain number of you will go to Hell-fire and these will be your ransom from Hell.”* (Using translation from Ibn Mājah 4291)   

السيوطي:١٦٤٤a

"إِذا جمعَ اللهُ الخلائِقَ يَوْمَ القيامةِ أذِنَ لأمّةِ محمدٍ ﷺ فِي السجودِ، فيسجدُونَ لَهُ طَويلًا، ثم يقالُ لهم: ارْفَعوا رءُوسَكُم، قدْ جَعلنْا عِدّتكم مِنَ الكُفارِ فِدَاءً لكمْ مِن النَّارِ".  

[هـ] ابن ماجة [طب] الطبرانى في الكبير عن أبي موسى