The minutes snailed by. Harry let Lockhart’s voice wash over him, occasionally saying, “Mmm” and “Right” and “Yeah.” Now and then he caught a phrase like, “Fame’s a fickle friend, Harry,” or “Celebrity is as celebrity does, remember that.”

Harry Potter and the Chamber of Secrets - Chapter 7 : Mudbloods and Murmurs
See this quote in the Pensive -