Martyrdom in the Way of Allah
Scholars have said that if a person dreams of being killed in the way of Allah, they may attain joy, sustenance, or high status. This interpretation is based on the Quranic verse describing martyrs as alive with their Lord, receiving sustenance. Furthermore, victories in battle may signify the opening of worldly opportunities and blessings.
Per Ibn Sirin's Muntakhab al-Kalam fi Tafsir al-Ahlam