That he heard is father, narating a Hadith, which he heard from the Messenger of Allah (ﷺ) in which he stood among them, mentioning to them that Jihad in the cause of Allah and faith in Allah were the most virtuous of deeds. Then a man stood and said: "O Messenger of Allah! If I were killed in the cause of Allah, would my sins forgiven ?" So the Messenger of Allah (ﷺ) said: "Yes, If you are killed in Allah's cause, and you are patient, seeking the reward, advancing, not fleeing." Then the Messenger of Allah (ﷺ) said: "What was it that you said?" So he replied: "If I were killed in the cause of Allah, would my sins be removed (forgiven)?" So the Messenger of Allah (ﷺ) said: "Yes, If you are patient, seeking the reward, advancing, not fleeing - except debt. For Jibril said that to me."
There are narrations on this topic from Anas, Muhammad bin Jahsh, And Abu Hurairah. This Hadith is Hasan Sahih.
Some of them reported this Hadith from Sa'eed Al-Maqburi, from Abu Hurairah, from the Prophet (ﷺ) similar to this. Yahya bin Sa'eed Al-Ansari and more than one narrator reported this from Sa'eed Al-Maqburi from 'Abdullah bin Abi Qatadah, from his fahter, from the Prophet (ﷺ). This is more correct than the narration of Sa'eed Al-Maqburi from Abu Hurairah.
Jami` at-Tirmidhi Book 23, Hadith 46
Abu Talha said to Um Sulaim, "I heard the voice of Allah's Messenger (ﷺ) rather weak, and I knew that it
was because of hunger. Have you anything (to present to the Prophet)?" She said, "Yes." Then she
took out a few loaves of barley bread and took a veil of hers and wrapped the bread with a part of it
and sent me to Allah's Messenger (ﷺ). I went and found Allah's Messenger (ﷺ) sitting in the mosque with some
people. I stood up before him. Allah's Messenger (ﷺ) said to me, "Has Abu Talha sent you?" I said, ' Yes.
Then Allah's Messenger (ﷺ) said to those who were with him. "Get up and proceed." I went ahead of them
(as their forerunner) and came to Abu Talha and informed him about it. Abu Talha said, "O Um
Sulaim! Allah's Messenger (ﷺ) has come and we have no food to feed them." Um Sulaim said, "Allah and
His Apostle know best." So Abu Talha went out (to receive them) till he met Allah's Messenger (ﷺ).
Allah's Messenger (ﷺ) came in company with Abu Talha and they entered the house. Allah's Messenger (ﷺ) said, "O
Um Sulaim! Bring whatever you have." So she brought that (barley) bread and Allah's Messenger (ﷺ)
ordered that bread to be broken into small pieces, and then Um Sulaim poured over it some butter
from a leather butter container, and then Allah's Messenger (ﷺ) said what Allah wanted him to say, (i.e.
blessing the food). Allah's Messenger (ﷺ) then said, "Admit ten men." Abu Talha admitted them and they ate
to their fill and went out. He again said, "Admit ten men." He admitted them, and in this way all the
people ate to their fill, and they were seventy or eighty men."
Sahih al-Bukhari Book 83, Hadith 65