This verse means:
And she certainly initiated to commit adultery with him, and he intended to push her away from him, had he not received the inspiration from his Lord (that if he pushed her, he would be accused of being the attacker himself)
[It reads: wa Laqad hammat bihi wa hamma biha]. What is the meaning of “wa hamma biha”?
Darulfatwa 2022