Sunan Abi Dawud Book 42, Hadith 59
Perhaps Allah, and Ibn Sinan’s version has : Allah looked at the participants of the battle of Badr (with mercy) and said : Do whatever you wish ; I have forgiven you.
No one of those who took the oath of allegiance under the tree will go to hell.
The prophet (ﷺ) went out during the time of (treaty of) al-Hudaibiyyah. He then mentioned the rest of the tradition. He said : ‘Urwah b. Mas’ud then came to him and began to speak to the Prophet (ﷺ). Whenever he talk to him, he caught his beard ; and al-Mughirah b. Shu’bah was standing near the head of the Prophet (ﷺ) with a sword with him and a helmet on him. He then struck his hand with the handle of the sword, saying : Keep away your hand from his beard. ‘Urwah then raised his head and said : Who is this ? The prophet said : Al-Mughirah b. Shu’bah.