If the religion were based on opinion, it would be more important to wipe the under part…

Sunan Abu Dawud Book 1 Hadith 162

Sunan Abu Dawud #162

Purification (Kitab Al-Taharah) 1:162

Narrated Ali ibn AbuTalib:

If the religion were based on opinion, it would be more important to wipe the under part of the shoe than the upper but I have seen the Messenger of Allah (ﷺ) wiping over the upper part of his shoes.

Chapter: How Should One Wipe

Grade: Sahih (Al-Albani)