Aisha intended to set free two slaves of her who were spouses. She, therefore, asked the Prophet ﷺ about this matter. He commanded to begin with the man before the woman. The narrator Nasr said: Abu 'Ali al-Hanafi reported it to me on the authority of Ubaydullah.
فَسَأَلَتِ النَّبِيَّ ﷺ عَنْ ذَلِكَ فَأَمَرَهَا أَنْ تَبْدَأَ بِالرَّجُلِ قَبْلَ الْمَرْأَةِ قَالَ نَصْرٌ أَخْبَرَنِي أَبُو عَلِيٍّ الْحَنَفِيُّ عَنْ عُبَيْدِ اللَّهِ