2 verses have
knows
in Edition Clear Qur'an by Talal Itani / Ash-Shura (Consultation)

42:24Or do they say, “He forged a lie about God.” If God so willed, He could have sealed your heart. But God obliterates the false, and confirm the true by His Words. He knows what is in the hearts.

42:25It is He who accepts the repentance of His worshipers, and remits the sins, and knows what you do.