Prohibition of seeking knowledge other than for the pleasure of Allah
① Sayyiduna Ka’b bin Malik (may Allah be pleased with him) narrates, I heard the Messenger of Allah (peace be upon him) say:
من طلب العلم ليجاري به العلماء، أو يماري به السفهاء، أو يصرف وجوه الناس إليه أدخله الله النار
“Whoever seeks knowledge to argue with the scholars, to debate, to dispute with ignorant and foolish people, or to attract people towards himself, Allah will admit him to Hell.”
Prohibition of issuing fatwa without knowledge
① It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:
من أفتي بغير علم كان إثمه على الذى أفتاه، ومن أشار علىٰ أخيه بأمر يعلم أن الرشد فى غيره فقد خانه
”Whoever gives a fatwa without knowledge (and acts upon it), then the sin is upon the one who gave the fatwa. And whoever advises his brother in a matter while knowing that the better option is another matter, then he has betrayed and ill-wished him.“