Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When the son of Adam recites a verse of prostration and prostrates, Satan withdraws weeping, saying, 'Woe to him!'" In Abu Kurayb's narration, the wording is, "Woe to me! The son of Adam was commanded to prostrate and he prostrated, so Paradise is his. I was commanded to prostrate and I refused, so the Fire is mine."

Muslim 244

Sahih

حدثنا أبو بكر بن أبي شيبة وأبو كريب قالا حدثنا أبو معاوية عن الأعمش عن أبي صالح

عن أبي هريرة قال

قال رسول الله ﷺ إذا قرأ ابن آدم السجدة فسجد اعتزل الشيطان يبكي يقول يا ويله وفي رواية أبي كريب يا ويلي أمر ابن آدم بالسجود فسجد فله الجنة وأمرت بالسجود فأبيت فلي النار

مسلم 244صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Explanation of applying the term disbelief to one who abandons prayer
Numbering
Darussalam 244
Muslim 244