Halaal is clear and haraam is clear, and between halaal and haraam are such things which are doubtful and many people do not know it. The one who abstains from these doubtful things will protect his Deen and his honour.
Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) once quoted the above Hadith and thereafter explained:
The essence of this Hadith is for one to obtain the quality of Taqwa. If anything is unclear and doubtful, and some Ulama regard it to be permissible while other Ulama rule it to be impermissible, then it is best for one to refrain from it and leave it out without becoming involved in an argument with any person.
This is also understood from another Hadith in which Rasulullah (sallallahu alaihi wasallam) said, “Leave out those things regarding which you are doubtful, and choose those things regarding which you have no doubt.” (Suhbat Baa Awliyaa pg. 97)