Bulugh al-Maram 341
وَعَنْ عُمَرَ - رضي الله عنه - قَالَ: يَا أَيُّهَا النَّاسُ إِنَّا نَمُرُّ بِالسُّجُودِ فَمَنْ سَجَدَ فَقَدْ أَصَابَ, وَمَنْ لَمْ يَسْجُدْ فَلَا إِثْمَ عَلَيْهِ. رَوَاهُ الْبُخَارِيُّ. وَفِيهِ: إِنَّ اللَّهَ تَعَالَى لَمْ يَفْرِضْ السُّجُودَ إِلَّا أَنْ نَشَاءَ وَهُوَ فِي «الْمُوَطَّأِ.
ʿUmar, may Allah be pleased with him, said: "O people, we pass by [verses of] prostration; whoever prostrates has done right, and whoever does not prostrate, there is no sin upon him." Reported by al-Bukhari. And in it: "Allah the Exalted has not made the prostration obligatory, unless we wish." And it is in al-Muwattaʾ.