Mishkat al-Masabih
‘A’isha said she wanted to set free two slaves of hers who were married, so she consulted the Prophet (ﷺ) and he ordered her to begin with the man before the woman. Abu Dawud and Nasa’i transmitted it.
عَنْ عَائِشَةَ: أَنَّهَا أَرَادَتْ أَنْ تَعْتِقَ مَمْلُوكَيْنِ لَهَا زَوْجٌ فَسَأَلَتِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَأَمَرَهَا أَنْ تَبْدَأَ بِالرَّجُلِ قَبْلَ الْمَرْأَةِ. رَوَاهُ أَبُو دَاوُد وَالنَّسَائِيّ
Reference