Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:96:14

Does he not know that Allah sees?  

Is he not aware that God sees?, what has issued from him, that is to say, He does ˹indeed˺ know it and will requite him for it. In other words, ‘Marvel, O you being addressed, at the way in which he forbids prayer, and at the fact that the one being forbidden is actually the one upon guidance, bidding to fear of God, while the one forbidding is a denier, disregarding faith’.
القرآن:٩٦:١٤

أَلَمْ يَعْلَمْ بِأَنَّ اللَّهَ يَرَىٰ  

{ألم يعلم بأن الله يرى} ما صدر منه، أي يعلمه فيجازيه عليه، أي اعجب منه يا مخاطب من حيث نهيه عن الصلاة ومن حيث أن المنهي على الهدى آمر بالتقوى ومن حيث أن الناهي مكذب متولٍ عن الإيمان.