One day the Messenger of Allah (ﷺ) went out and prayed over the martyrs of Uhud like his prayer over the dead, and then returned.
Sunan Abi Dawud Book 21, Hadith 135