Translation
(10) The Chapters on Divorce
كتاب الطلاق
(29) Chapter: Giving a slave woman the choice when she is freed
(29) باب خِيَارِ الأَمَةِ إِذَا أُعْتِقَتْ
Sunan Ibn Majah 2074 
It was narrated from Aishah that:
she freed Barirah and the Messenger of Allah (ﷺ) gave her the choice, and she (Barirah) had a free husband.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ بْنِ يَزِيدَ، عَنْ عَائِشَةَ، أَنَّهَا أَعْتَقَتْ بَرِيرَةَ فَخَيَّرَهَا رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ وَكَانَ لَهَا زَوْجٌ حُرٌّ ‏.‏
Grade :  Da'if (Darussalam)
Reference : Sunan Ibn Majah 2074
In-book reference : Book 10, Hadith 59
English translation : Vol. 3, Book 10, Hadith 2074