The word you are likely thinking of is "eavesdrop".
Eavesdrop means to secretly listen to a private conversation, usually without the speaker's knowledge or permission.
It comes from the practice of hiding under the eaves of a house to listen to conversations inside.