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:58:1In the name of Allah, the Entirely Merciful, the Especially Merciful.

Certainly has Allah heard the speech of the one who argues with you, ˹O Muhammad˺, concerning her husband and directs her complaint to Allah. And Allah hears your dialogue; indeed, Allah is Hearing and Seeing.  

God has certainly heard the words of her who disputes with you, ˹her who˺ consults you, O Prophet, concerning her husband, who has repudiated her by zihār — he had said to her, ‘You are to me ˹as untouchable˺ as the back of my mother’. She asked the Prophet (s) about this and he told her that she was ˹thenceforth˺ forbidden to him, as was customary among them ˹at the time of Jāhiliyya˺, namely, that repudiation by zihār results in permanent separation. She was Khawla bt. Tha‘laba and he was Aws b. alSāmit — and complains to God, of her being alone and of her impoverishment while having young children, whom if she were to leave with him, they would go astray, but whom, if they remained with her, would go hungry. And God hears your conversation, your consulting. Assuredly God is Hearer, Seer, ˹He is˺ Knower.
القرآن:٥٨:١بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ

قَدْ سَمِعَ اللَّهُ قَوْلَ الَّتِي تُجَادِلُكَ فِي زَوْجِهَا وَتَشْتَكِي إِلَى اللَّهِ وَاللَّهُ يَسْمَعُ تَحَاوُرَكُمَا ۚ إِنَّ اللَّهَ سَمِيعٌ بَصِيرٌ  

{قد سمع الله قول التي تجادلك} تراجعك أيها النبي {في زوجها} المظاهر منها وكان قال لها: أنت عليَّ كظهر أمي، وقد سألت النبي ﷺ عن ذلك فأجابها بأنها حرمت عليه على ما هو المعهود عندهم من أن الظهار موجبه فرقة مؤبدة وهي خولة بنت ثعلبة، وهو أوس بن الصامت {وتشتكي إلى الله} وحدتها وفاقتها وصبية صغارا إن ضمتهم إليه ضاعوا أو إليها جاعوا {والله يسمع تحاوركما} تراجعكما {إن الله سميع بصير} عالم.