It was narrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ) said: 'Whoever is given a Fatwa (verdict) that has no basis, then his sin will be upon the one who issued that Fatwa.'" (JA)
English reference (JA): Vol. 1, Book 1, Hadith 53 (JA)
Arabic reference (JA): Book 1, Hadith 55 (JA)