The Prophet Muhammad (peace be upon him) said: “The seeking of knowledge is obligatory for every Muslim.

Al-Tirmidhi, Hadith 74