[Machine] There were some prisoners on the day of Badr who had no ransom, so the Messenger of Allah ﷺ made their ransom to be that they would teach the children of the Ansar how to write. He said that a boy from the children of the Ansar came to his father and said, "What is the matter with you?" He said, "My teacher has beaten me." The boy said, "The evil one seeks revenge for Badr. By Allah, he will never attain it."
كَانَ نَاسٌ مِنَ الْأُسَارَى يَوْمَ بَدْرٍ لَيْسَ لَهُمْ فِدَاءٌ فَجَعَلَ رَسُولُ اللهِ ﷺ فِدَاءَهُمْ أَنْ يُعَلِّمُوا أَوْلَادَ الْأَنْصَارِ الْكِتَابَةَ قَالَ فَجَاءَ غُلَامٌ مِنْ أَوْلَادِ الْأَنْصَارِ إِلَى أَبِيهِ فَقَالَ مَا شَأْنُكَ؟ قَالَ ضَرَبَنِي مُعَلِّمِي قَالَ الْخَبِيثُ يَطْلُبُ بِذَحْلِ بَدْرٍ وَاللهِ لَا تَأْتِيهِ أَبَدًا