مشكوة المصابيح Mishkat al-Masabih كتاب أحوال القيامة وبدء الخلق The Book of the Conditions of the Day of Resurrection and the Beginning of Creation
(اللَّهُ تَعَالَى لَا يَسْجُدُ لَهُ إِلَّا المُؤْمِنُ)

(Only the believer will prostrate to Allah Almighty)

1 hadith
Hadith 5542
وَعَنْهُ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «يَكْشِفُ رَبُّنَا عَنْ سَاقِهِ فَيَسْجُدُ لَهُ كُلُّ مُؤْمِنٍ وَمُؤْمِنَةٍ وَيَبْقَى مَنْ كَانَ يَسْجُدُ فِي الدُّنْيَا رِيَاءً وَسُمْعَةً فَيَذْهَبُ لِيَسْجُدَ فَيَعُودُ ظَهْرُهُ طَبَقًا وَاحِدًا» . مُتَّفق عَلَيْهِ
He told that he heard God's messenger say, "Our Lord will uncover His leg[*] and every believing man and woman will fall in prostration before Him. Those who prostrated themselves in the world from hypocrisy and show will remain, but when they proceed to prostrate themselves, their backs will become a single piece." *Cf. Quran, 48:42. The reference is either to the beginning of terrors, or to the end of all mystery. (Bukhari and Muslim.)
Hadith Reference Mishkat al-Masabih / The Book of the Conditions of the Day of Resurrection and the Beginning of Creation / Hadith: 5542
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (4919) و مسلم (لم أجده، وانظر ح 5579 من ھذا الکتاب)»