In this paper, a non-standard finite difference scheme is proposed for solving a steady finite Rayleigh number convection in a porous cavity with an inclined magnetic field and non-uniform internal heating. Numerical results are compared with the classical finite difference scheme.