It wasnarrated from Abu Hurairah that the Messenger of Allah (ﷺ)said:
"The likeness of the one who sits and listen to wisdom then onlyspeaks of the bad things that he had heard, is that of a man whocomesto a shepherd and says: "O shepherd, give me one of yoursheep toslaughter," and (the shepherd) says: "Go and grab theear of the bestof them." Then he goes and grabs the ear of thesheepdog.'"
English reference: Vol. 5, Book 37, Hadith 4172
Arabic reference: Book 37, Hadith 4311