The Messenger of Allah ﷺ said: Act differently from the Jews, for they do not pray in their sandals or their shoes. (Using translation from Abū Dāʾūd 652)
قَالَ رَسُولُ اللَّهِ ﷺ «خَالِفُوا الْيَهُودَ فَإِنَّهُمْ لَا يُصَلُّونَ فِي خِفَافِهِمْ وَلَا نِعَالِهِمْ»