It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) wrote to the commanders of the armies regarding men who were absent from their wives, and ordered them to hold them to account: either they should provide maintenance or divorce; and if they divorced, they should send the maintenance for the period they had withheld (it).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النفقات / 15706