Not sure what’s the legal advice you need. If I were you, I’d check the account statement from netbanking or get the passbook printed first to see what happened.
I’d suggest not to spend the money at all if you ever received it. Even though somebody else sent it to you, it’s still someone else’s money and banks have ways of taking it back upon formal complaint.