(3) باب فِي الْعِتْقِ عَلَى الشَّرْطِ
Narrated Umm Salamah, Ummul Mu'minin:
Safinah said: I was a slave of Umm Salamah, and she said: I shall emancipate you, but I stipulate that you must serve the Messenger of Allah (ﷺ) as long as you live. I said: Even if you do not make a stipulation, I shall not leave the Messenger of Allah (ﷺ). She then emancipated me and made the stipulation with me.
Reference: Sunan Abi Dawud 3932
In-book reference: Book 31, Hadith 7
English translation: Book 30, Hadith 3921