Hadithcore
Mishkat al-Masabih, 765

Shaddad b. Aus reported God’s Messenger as saying, “Act differently from the Jews, for they do not pray in their sandals or their shoes.”* * <i>Khuff</i> (pl. <i>khifaf</i>), an article of footwear which came up above the ankle. Traditions tell that the Prophet (ﷺ) allowed pilgrims to wear the <i>khuff</i> only when unable to procure sandals, but said they must be cut to come below the ankle. Cf. Bukhari, <i>Hajj</i>, 21, 23; <i>Libas</i>, 8, 4, 15, 73. Abu Dawud transmitted it.

وَعَنْ شَدَّادِ بْنِ أَوْسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «خَالِفُوا الْيَهُودَ فَإِنَّهُمْ لَا يُصَلُّونَ فِي نِعَالِهِمْ وَلَا خِفَافِهِمْ» . رَوَاهُ أَبُو دَاوُد

References1 variant
In-Book Reference
Book 4, Hadith 193