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:21:4

The Prophet said, "My Lord knows whatever is said throughout the heaven and earth, and He is the Hearing, the Knowing."  

He said, to them, ‘My Lord knows the words, that are ˹spoken˺, in the heavens and the earth, and He is the Hearer, of what they keep secret, the Knower’, of it.
القرآن:٢١:٤

قَالَ رَبِّي يَعْلَمُ الْقَوْلَ فِي السَّمَاءِ وَالْأَرْضِ ۖ وَهُوَ السَّمِيعُ الْعَلِيمُ  

{قال} لهم {ربي يعلم القول} كائناً {في السماء والأرض وهو السميع} لما أسروه {العليم} به.