It was narrated that :
`Aishah had a male slave and a female slave who were married. She said: "O Messenger of Allah (ﷺ), I want to free them both." The Messenger of Allah (ﷺ) said: "If you free them, then start with the man before the woman." (PT)
English reference (PT): Vol. 3, Book 19, Hadith 2532 (PT)
Arabic reference (PT): Book 19, Hadith 2629 (PT)