It could be phishing spam, I get lots of invites to check various accounts I don't have in the hope that I do have a real account and will inadvertantly pass them my details.
Ignore it and see if you can login to Yahoo from their page, see what happens and use the password recovery feature.