Hadithcore
Sunan Abi Dawud, 3223
sahih· Al-Albani

Narrated 'Uqbah bin 'Amir:

One day the Messenger of Allah (ﷺ) went out and prayed over the martyrs of Uhud like his prayer over the dead, and then returned.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عُقْبَةَ بْنِ عَامِرٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم خَرَجَ يَوْمًا فَصَلَّى عَلَى أَهْلِ أُحُدٍ صَلاَتَهُ عَلَى الْمَيِّتِ ثُمَّ انْصَرَفَ ‏.‏

References2 variants
In-Book Reference
Book 21, Hadith 135
English Reference
Book 20, Hadith 3217