Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: "Whoever gives a fatwa without knowledge, then its sin is upon the one who gave the fatwa."
Hadith Referenceمسند اسحاق بن راهويه / كتاب العلم / 6
Hadith Takhrij«سنن ابوداود ، كتاب العلم، باب التوقي فى الفتيا، رقم: 3657۔ قال الشيخ الألباني: حسن، سنن دارمي، رقم: 159»