It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "No person who participated in Badr and Hudaybiyyah will enter Hell."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15262
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن، وانظر: 14484