Abu Razeen reported,

Abu Hurairah came out to us, struck his hand against his forehead, and said, "You people claim that I lie about the Messenger of Allah ﷺ so that you may be guided while I go astray. I bear witness that I heard the Messenger of Allah ﷺ say, 'If the strap of one of your sandals breaks, do not walk in the other one until you have repaired it.'"

Azami 14480

Sahih

عن أبي رزين، قال

خرج إلينا أبو هريرة، فضرب بيده على جبهته، فقال: ألا إنكم تحدثون أني أكذب على رسول الله ﷺ لتهتدوا وأضل، ألا وإني أشهد لسمعت رسول الله ﷺ يقول: إذا انقطع شسع أحدكم فلا يمش في الأخرى حتى يصلحها.

الأعظمي 14480صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of clothing and adornment
Section
Prohibition of walking in one sandal
Numbering
Jami al-Kamil 14480 (2nd edition)
Azami 14480