فَإِذَا بَلَغْنَ أَجَلَهُنَّ فَأَمْسِكُوهُنَّ بِمَعْرُوفٍ أَوْ فَارِقُوهُنَّ بِمَعْرُوفٍ وَأَشْهِدُوا ذَوَيْ عَدْلٍ مِّنكُمْ وَأَقِيمُوا الشَّهَادَةَ لِلَّهِ ذَلِكُمْ يُوعَظُ بِهِ مَن كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ وَمَن يَتَّقِ اللَّهَ يَجْعَل لَّهُ مَخْرَجًا
﴿٢﴾
سورة الـطلاق
(65/2) So when they (the wives that you have divorced) have reached their waiting time, then retain (lodge) them with kindness (based on your traditions and with goodness) or separate from them with kindness (set them free). And two from among you who are just should witness. Be a witness for Allah. The one who believes in Allah and the latter day (the day of reaching Allah before death) is admonished with this (is asked to this). And whoever has piety towards Allah; (Allah) makes for him an outlet.
Surah At-Talaq