Keep in mind that the modular nature of the AR-15 means that unless you know what to look for, buying a used rifle can be hit or miss. Someone could have swapped uppers on that lower. S&W sells serialized stripped lowers marked M&P 15.
If you have a factory complete rifle, posting a picture will help.