Abu Saeed reported, "I heard the Prophet ﷺ say, 'Our Lord will uncover His Shin, and every believing man and woman will prostrate to Him. There will remain those who used to prostrate in the world out of showing off and seeking reputation. Such a person will try to prostrate, but his back will become a single rigid plate.'"
سمعت النبي ﷺ يقول: يكشف ربنا عن ساقه، فيسجد له كل مؤمن ومؤمنة، فيبقى كل من كان يسجد له في الدنيا رياء وسمعة، فيذهب ليسجد، فيعود ظهره طبقا واحدا.
Bukhari narrated it in the tafsir (4919), and Muslim in the book of faith (183), both through the route of Zayd bin Aslam, from Ata bin Yasar, from Abu Saeed Khudri, who said, then he related it. The wording given here is Bukhari's, while Muslim's wording is longer.