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.'" (ES)
English reference (ES): Vol. 1, Book 1, Hadith 53 (ES)
Arabic reference (ES): Book 1, Hadith 55 (ES)