The Messenger of Allah ﷺ said: If anyone asks Allah for martyrdom sincerely, Allah will make him reach the ranks of martyrs even if he died on his bed. (Using translation from Abū Dāʾūd 1520)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «مَنْ سَأَلَ اللهَ الشَّهَادَةَ بِصِدْقٍ بَلَّغَهُ اللهُ مَنَازِلَ الشُّهَدَاءِ وَإِنْ مَاتَ عَلَى فِرَاشِهِ»