Mishkat al-Masabih 895
He reported God’s Messenger as saying:
When a man recites as-Sajda (Al-Qur’an; 32) the devil retires weeping and saying, “Woe is me! The son of Adam has been commanded to prostrate himself and has done so, and will be rewarded with paradise; but I have been commanded to prostrate myself and have refused, so I will be punished with hell.” 

Muslim transmitted it.
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: 
" إِذَا قَرَأَ ابْنُ آدَمَ السَّجْدَةَ فَسَجَدَ اعْتَزَلَ الشَّيْطَانُ يَبْكِي يَقُولُ: يَا وَيْلَتِي أُمِرَ ابْنُ آدَمَ بِالسُّجُودِ فَسَجَدَ فَلَهُ الْجَنَّةُ وَأُمِرْتُ بِالسُّجُودِ فَأَبَيْتُ فَلِيَ النَّارُ ". رَوَاهُ مُسْلِمٌ