To mishear something — to hear someone incorrectly and take it to mean something else.
駅で案内を聞き違って、違う出口に出てしまった。
I misheard the directions at the station and ended up at the wrong exit.
騒がしくてニュースを聞き違ってしまった。
It was noisy, so I misheard the news.
ごめん、今のを聞き違っていたかもしれない。
Sorry, I may have misheard what you just said.