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." (RU)
English reference (RU): Vol. 3, Book 19, Hadith 2532 (RU)
Arabic reference (RU): Book 19, Hadith 2629 (RU)