Hadith 881
حَدَّثَنَا أَسْوَدُ بْنُ عَامِرٍ، حَدَّثَنَا شُعْبَةُ، قَالَ الْحَكَمُ أَخْبَرَنِي عَنْ أَبِي مُحَمَّدٍ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ بَعَثَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِلَى الْمَدِينَةِ فَأَمَرَهُ أَنْ يُسَوِّيَ الْقُبُورَ.
It was narrated that ‘Ali (رضي الله عنه) said that The Prophet (ﷺ) sent him to Madinah and told him to level the graves.
Reference : Musnad Ahmad 881
In-book reference : Book 5, Hadith 310