Sultan Muhammad Shah ibni Almarhum Sultan Ibrahim Shah, (Jawi: سلطان محمد شاه ابن المرحوم سلطان إبراهيم شاه ; born Raja Muhammad bin Raja Ibrahim; 1772 - 6 January 1857) was the third Sultan of Selangor.[1] His reign lasted 31 years until his death and saw the opening of tin mines in Ampang and the separation of Selangor into five independent districts.