How to install Mac OS X without OS X Recovery or the DVD that came with the Mac?
You don't indicate which OS X you are starting from, but your MacBook Pro shipped with Snow Leopard.

One course of action is to purchase the retail packaged Snow Leopard generic installation DVD and then the downloadable Lion from the Apple store for US$19.99 each. You will need to install Snow Leopard first from disc, update to 10.6.8, then download and install Lion. There are no Lion or later install DVDs available from Apple.