It is narrated from Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him) that a man came while the Prophet (peace and blessings be upon him) was leading us in prayer, and he said: "O Allah, grant me the best of what You grant Your righteous servants." Then, when the Messenger of Allah (peace and blessings be upon him) had finished the prayer, he (peace and blessings be upon him) asked: "Who was the one speaking (during the prayer) just now?" The man said: "I (was)." He (peace and blessings be upon him) said: "Then your horse will be wounded (on the battlefield), and you will be martyred in the path of Allah."
Related hadith on this topic