Sahih al-Bukhari 2583
Sa'id bin Abi Maryam told us that Laith narrated to us. He said: Uqail told me. He narrated from Ibn Shihab that he said: Urwah related that Miswar bin Makhramah (ra) and Marwan informed him that when the delegates of Hawazin came to the Prophet (saw), he (saw) stood among the people and praised Allah as He deserves. Then he (saw) said: “Listen, your brothers have come to us repenting, and I have thought it proper to return their captives to them. So whoever of you wishes to do so with the gladness of his heart, let him return them, and whoever wishes to take his right (the ransom of the slave), we will give him his share from the first spoils that Allah gives us.” The people said: We have gladly accepted your (saw) instruction.
AI-translated by Islam-Today