حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنِ الْحَجَّاجِ الصَّوَّافِ، حَدَّثَنِي يَحْيَى بْنُ أَبِي كَثِيرٍ، عَنْ هِلاَلِ بْنِ أَبِي مَيْمُونَةَ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ مُعَاوِيَةَ بْنِ الْحَكَمِ السُّلَمِيِّ، قَالَ قُلْتُ ‏:‏ يَا رَسُولَ اللَّهِ جَارِيَةٌ لِي صَكَكْتُهَا صَكَّةً ‏.‏ فَعَظَّمَ ذَلِكَ عَلَىَّ رَسُولُ اللَّهِ صلى الله عليه وسلم فَقُلْتُ أَفَلاَ أُعْتِقُهَا قَالَ ‏:‏ ‏"‏ ائْتِنِي بِهَا ‏"‏ ‏.‏ قَالَ ‏:‏ فَجِئْتُ بِهَا قَالَ ‏:‏ ‏"‏ أَيْنَ اللَّهُ ‏"‏ ‏.‏ قَالَتْ ‏:‏ فِي السَّمَاءِ ‏.‏ قَالَ ‏:‏ ‏"‏ مَنْ أَنَا ‏"‏ ‏.‏ قَالَتْ ‏:‏ أَنْتَ رَسُولُ اللَّهِ ‏.‏ قَالَ ‏:‏ ‏"‏ أَعْتِقْهَا فَإِنَّهَا مُؤْمِنَةٌ ‏"‏ ‏.‏
Translation
Narrated Ash-Sharid ibn Suwayd ath-Thaqafi

Sharid's mother left a will to emancipate a believing slave on her behalf. So he came to the Prophet (ﷺ) and said: Messenger of Allah, my mother left a will that I should emancipate a believing slave for her, and I have a black Nubian slave-girl. He mentioned a tradition about the test of the girl.

Abu Dawud said: Khalid b. 'Abd Allah narrated this tradition direct from the Prophet (ﷺ). He did not mention the name of al-Sharid.