Yes I've heard that as well. For example I heard 2nd hand that Andrew Wiles at Princeton, who famously solved Fermat's last theorem, is a brilliant researcher but a terrible professor.
I had a math professor from Dartmouth who told me that Dartmouth really emphasized teaching in their phd program and he was indeed an exceptional teacher. I wish that was emphasized more, or they separate hardcore researchers from the teachers.