عَنْ أَبِي أُمَامَةَ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَقْبَلَ مِنْ خَيْبَرَ وَمَعَهُ غُلَامَانِ وَهَبَ أَحَدَهُمَا لِعَلِيِّ بْنِ أَبِي طَالِبٍ رَضِيَ اللَّهُ عَنْهُ وَقَالَ لَا تَضْرِبْهُ فَإِنِّي قَدْ نُهِيتُ عَنْ ضَرْبِ أَهْلِ الصَّلَاةِ وَقَدْ رَأَيْتُهُ يُصَلِّي قَالَ عَفَّانُ فِي حَدِيثِهِ أَخْبَرَنَا أَبُو طَالِبٍ عَنْ أَبِي أُمَامَةَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَقْبَلَ مِنْ خَيْبَرَ وَمَعَهُ غُلَامَانِ فَقَالَ عَلِيٌّ يَا رَسُولَ اللَّهِ أَخْدِمْنَا قَالَ خُذْ أَيَّهُمَا شِئْتَ قَالَ خِرْ لِي قَالَ خُذْ هَذَا وَلَا تَضْرِبْهُ فَإِنِّي قَدْ رَأَيْتُهُ يُصَلِّي مَقْبَلَنَا مِنْ خَيْبَرَ وَإِنِّي قَدْ نُهِيتُ وَأَعْطَى أَبَا ذَرٍّ رَضِيَ اللَّهُ عَنْهُ غُلَامًا وَقَالَ اسْتَوْصِ بِهِ مَعْرُوفًا فَأَعْتَقَهُ فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مَا فَعَلَ الْغُلَامُ قَالَ يَا رَسُولَ اللَّهِ أَمَرْتَنِي أَنْ أَسْتَوْصِيَ بِهِ مَعْرُوفًا فَأَعْتَقْتُهُ
It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) returned from Khaybar, there were two slaves with him. The Messenger of Allah (peace and blessings be upon him) gave one slave to Sayyiduna Ali (may Allah be pleased with him) and said: Do not beat him, for I have been forbidden from beating those who pray, and I have seen him performing prayer. The words of the narrator ‘Affan are as follows: The Noble Prophet (peace and blessings be upon him) returned from Khaybar and there were two slaves with him. Sayyiduna Ali (may Allah be pleased with him) said: O Messenger of Allah! Please give us a servant as well. The Messenger of Allah (peace and blessings be upon him) said: Take whichever of them you wish. But Sayyiduna Ali (may Allah be pleased with him) said: You choose for me. The Messenger of Allah (peace and blessings be upon him) said: Take this one, for I saw him performing prayer upon returning from Khaybar, and I have been forbidden from beating those who pray. Then the Messenger of Allah (peace and blessings be upon him) gave the other slave to Sayyiduna Abu Dharr (may Allah be pleased with him) and said: Accept a good will regarding him. He set him free. Then when the Noble Prophet (peace and blessings be upon him) asked him what became of the slave, he said: O Messenger of Allah! You commanded me to accept a good will regarding him, so for that reason I set him free.