Sunan an-Nasa'i, Book 21, Hadith 188 (In-Book)

It was narrated from Jabir bin 'Abdullah: That the Prophet commanded that those who had been killed at Uhud should be taken back to the place where they fell; they had been brought to Al-Madinah.

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

sunnah.com