Sunan Abi Dawud, Book 8, Hadith 105 (Abu Dawud 1521)

Sahl b. Hunaif reported:

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.