by hearsay
Он не понаслышке зна́ет, что значит быть бе́дным.
He knows quite well what it is like to be poor.
WiktionaryPONSbab.laReverso