This paper explores the magnetohydrodynamic (MHD) flow and heat transfer of an electrically conducting non-Newtonian power-law fluid over a non-linearly stretching surface with a porous plate in a porous medium. The authors derive a set of non-linear ordinary differential equations through similarity transformations and solve them numerically using the Runge-Kutta shooting method, examining the influence of various flow parameters on the fluid behavior. Results indicate significant effects of parameters such as magnetic field strength, permeability, and temperature exponent on both flow characteristics and heat transfer efficiency.