funny you mention it

Funny you mention it is a figure of speech in which you express that what someone has just said to you reminds you of something else you were thinking of recently. When someone says funny you mention it as a response to what you have just talked about, they are telling you that it is funny because of the fact that they were just talking about or thinking about that and were going to bring it up themselves.