take the words out of someone's mouth
US /teɪk ðə wɜrdz aʊt əv ˈsʌm.wʌnz maʊθ/
UK /teɪk ðə wɜrdz aʊt əv ˈsʌm.wʌnz maʊθ/

1.
to say exactly what someone else was going to say
:
•
You took the words right out of my mouth! I was just about to suggest that.
•
When she mentioned going to the beach, she literally took the words out of my mouth.