Read the Arabic text and available English translation from Musnad Ahmad, with its supplied source reference.
Musnad Ahmad 2216
Grading supplied with this record: Hasan]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated that Ibn ‘Abbas (رضي الله عنه) said:
Some of the prisoners on the day of Badr did not have any ransom, so the Messenger of Allah (ﷺ) made it their ransom to teach the children of the Ansar how to write. One day a boy came crying to his father, who said: What is the matter with you? He said: My teacher hit me. He said: The evil one is seeking vengeance for [the people thrown into] the well at Badr! By Allah, you will never go to him again.
Full reference and source
Musnad Ahmad 2216
Arabic/English book : Book 25, Hadith 2216
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.