Hadithcore
Mishkat al-Masabih, 1906

Abu Barza said that when he asked God’s Prophet (ﷺ) to teach him something from which he would receive benefit he told him to remove things which caused annoyance to Muslims from their path. Muslim transmitted it.

وَعَنْ أَبِي بَرْزَةَ قَالَ: قُلْتُ: يَا نَبِيَّ اللَّهِ عَلِّمْنِي شَيْئًا أَنْتَفِعْ بِهِ قَالَ: «اعْزِلِ الْأَذَى عَنْ طَرِيقِ الْمُسْلِمِينَ» . رَوَاهُ مُسْلِمٌ وَسَنَذْكُرُ حَدِيث عدي ابْن حَاتِمٍ: «اتَّقُوا النَّارَ» فِي بَابِ عَلَامَاتِ النُّبُوَّةِ

References1 variant
In-Book Reference
Book 6, Hadith 132