Hadith 37179

Riyad as-Salihin

رياض الصالحين

38
وعن أنس رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: "من طلب الشهادة صادقًا أعطيها ولو لم تصبه" ((رواه مسلم)).

Anas (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "He who supplicates sincerely for martyrdom, it will be granted to him even though he is not killed on the battlefield."[Muslim].

App reference: Book 12, Hadith 38

Arabic/English book reference: Book 12, Hadith 1322