Did Muhammad followed any religion before Islam?

What difference does it make?