Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that Abu Azzah said on the day of Badr: O Messenger of Allah, you know better than anyone my poverty, my hardship and my daughters. He (peace and blessings be upon him) let him go, did him a favour and pardoned him, and he went to Makkah without ransom. When he reached Makkah, he insulted the Prophet (peace and blessings be upon him) and incited the polytheists against the Messenger of Allah (peace and blessings be upon him). So on the day of Uhud he was taken captive again. When he was brought to him (peace and blessings be upon him), he (peace and blessings be upon him) said: "A believer is not stung from the same hole twice."
This chain contains weakness, and (the incident) is well known among the scholars of the military campaigns (maghazi).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12839