Prick up one’s ears

To listen more closely (like an animal moving its ears to hear better).

I pricked up my ears and listened to what the speaker was saying.