The Prophet ﷺ ordered that those killed at Uhud be returned to the places where they had fallen, after they had been carried to Medina.
أخبرنا محمد بن منصور قال حدثنا سفيان قال حدثنا الأسود بن قيس عن نبيح العنزي
أن النبي ﷺ أمر بقتلى أحد أن يردوا إلى مصارعهم وكانوا قد نقلوا إلى المدينة
Sourcing, sahih. Reported by Abu Dawud, in the Book of Funerals, chapter on a deceased person being transported from one land to another and the disapproval of that, no. 3165, and Ibn Majah, in the Book of Funerals, chapter on what has been said about praying over the martyrs and burying them, no. 1516, from the hadith of Sufyan bin Uyayna with the same chain, and it is in al-Kubra, no. 2131. Tirmidhi graded it sahih, no. 1717, as did Ibn Khuzayma and Ibn Hibban and others.