The Prophet said: "If the strap of the sandal of one of you breaks, let him not walk in one sandal until he fixes it."
Sunan an-Nasa'i Book 48, Hadith 330