great minds think alike
US /ɡreɪt maɪndz θɪŋk əˈlaɪk/
UK /ɡreɪt maɪndz θɪŋk əˈlaɪk/

1.
used to say that two people have had the same idea or made the same decision at the same time
:
•
You ordered pizza too? Great minds think alike!
•
I was just about to suggest that. Great minds think alike!