Jami` at-Tirmidhi, Book 41, Hadith 5 (Tirmidhi 2719)

Narrated Abu Hurairah:

that the Messenger of Allah (ﷺ) said: "Whoever is asked about some knowledge that he knows, then he conceals it, he will be bridled with bridle of fire."