يَـٰٓأَيُّهَا ٱلنَّبِىُّ إِذَا طَلَّقْتُمُ ٱلنِّسَآءَ فَطَلِّقُوهُنَّ لِعِدَّتِهِنَّ وَأَحْصُوا۟ ٱلْعِدَّةَ ۖ وَٱتَّقُوا۟ ٱللَّهَ رَبَّكُمْ ۖ لَا تُخْرِجُوهُنَّ مِنۢ بُيُوتِهِنَّ وَلَا يَخْرُجْنَ إِلَّآ أَن يَأْتِينَ بِفَـٰحِشَةٍ مُّبَيِّنَةٍ ۚ وَتِلْكَ حُدُودُ ٱللَّهِ ۚ وَمَن يَتَعَدَّ حُدُودَ ٱللَّهِ فَقَدْ ظَلَمَ نَفْسَهُۥ ۚ لَا تَدْرِى لَعَلَّ ٱللَّهَ يُحْدِثُ بَعْدَ ذَٰلِكَ أَمْرًا
yāayyuhā l-nabiyu idhā ṭallaqtumu l-nisāa faṭalliqūhunna liʿiddatihinna wa-aḥṣū l-ʿidata wa-ittaqū l-laha rabbakum lā tukh'rijūhunna min buyūtihinna walā yakhruj'na illā an yatīna bifāḥishatin mubayyinatin watil'ka ḥudūdu l-lahi waman yataʿadda ḥudūda l-lahi faqad ẓalama nafsahu lā tadrī laʿalla l-laha yuḥ'dithu baʿda dhālika amran
Prophet, when any of you intend to divorce women, do so at a time when their prescribed waiting period can properly start, and calculate the period carefully: be mindful of God, your Lord. Do not drive them out of their homes––nor should they themselves leave––unless they commit a flagrant indecency. These are the limits set by God–– whoever oversteps God’s limits wrongs his own soul––for you cannot know what new situation God may perhaps bring about.
O Prophet (صلى الله عليه وسلم)! When you divorce women, divorce them at their ‘Iddah (prescribed periods) and count (accurately) their ‘Iddah (periods). And fear Allâh your Lord (O Muslims). And turn them not out of their (husband’s) homes nor shall they (themselves) leave, except in case they are guilty of some open illegal sexual intercourse. And those are the set limits of Allâh. And whosoever transgresses the set limits of Allâh, then indeed he has wronged himself. You (the one who divorces his wife) know not it may be that Allâh will afterward bring some new thing to pass (i.e. to return her back to you if that was the first or second divorce).