Abu Barza reported,

I said to the Messenger of Allah ﷺ, "Messenger of Allah, I do not know, perhaps you will pass on and I will remain after you, so give me something as provision through which Allah will benefit me."The Messenger of Allah ﷺ said, "Do such and such, do such and such," (Abu Bakr forgot it) "and remove harmful things from the road."

Azami 14759

Sahih

عن أبي برزة الأسلمي

قلت لرسول الله ﷺ: يا رسول الله إني لا أدري، لعسى أن تمضي وأبقى بعدك، فزودني شيئا ينفعني الله به، فقال رسول الله ﷺ: افعل كذا، افعل كذا(أبو بكر نسيه) وأمر الأذى عن الطريق.

الأعظمي 14759صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of the road, walking, and travel
Section
Virtue of removing harm from the road
Numbering
Jami al-Kamil 14759 (2nd edition)
Azami 14759