When Abdullah bin Amr bin Haram was killed on the day of Uhud, the Messenger of Allah ﷺ met me and said, "Jabir, shall I not tell you what Allah said to your father?"Yahya in his version said that the Prophet said, "Jabir, why do I see you downcast?"I replied, "Messenger of Allah, my father has been martyred, leaving behind dependents and debt."He said, "Shall I not give you glad tidings of how Allah received your father?"I said, "Yes, Messenger of Allah."He said, "Allah has never spoken to anyone except from behind a veil, but He spoke to your father face to face and said, 'My servant, ask of Me whatever you wish and I shall grant it.' He said, 'My Lord, bring me back to life so I may be killed in Your cause a second time.' The Lord, glory be to Him, said, 'It has already been decreed by Me that they shall not return to it.' He said, 'My Lord, then convey the news to those I have left behind.'"So Allah the Exalted revealed, "And do not think of those who have been killed in the way of Allah as dead. Rather, they are alive with their Lord, receiving provision" [Al Imran 3:169].
حدثنا إبراهيم بن المنذر الحزامي ويحيى بن حبيب بن عربي قالا حدثنا موسى بن إبراهيم بن كثير الأنصاري الحرامي قال سمعت طلحة بن خراش قال سمعت
لما قتل عبد الله بن عمرو بن حرام يوم أحد لقيني رسول الله ﷺ فقال يا جابر ألا أخبرك ما قال الله لأبيك وقال يحيى في حديثه فقال يا جابر ما لي أراك منكسرا قلت يا رسول الله استشهد أبي وترك عيالا ودينا قال أفلا أبشرك بما لقي الله به أباك قال بلى يا رسول الله قال ما كلم الله أحدا قط إلا من وراء حجاب وكلم أباك كفاحا فقال يا عبدي تمن علي أعطك قال يا رب تحييني فأقتل فيك ثانية فقال الرب سبحانه إنه سبق مني أنهم إليها لا يرجعون قال يا رب فأبلغ من ورائي قال فأنزل الله تعالى {ولا تحسبن الذين قتلوا في سبيل الله أمواتا بل أحياء عند ربهم يرزقون}
Sourced from Tirmidhi, Tafsir of the Quran, chapter on Surah Al Imran, hadith 3010, from Yahya bin Habib, with this wording, and he said, hasan gharib. Ibn Hibban and Hakim graded it sahih. See also hadith 2800. It has corroborating narrations in Ahmad and others. Its chain of transmission is hasan.