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