In the view of viscous potential flow theory, the hydromagnetic stability of the interface between two infinitely conducting, incompressible plasmas, streaming parallel to the interface and subjected to a constant magnetic field parallel to the streaming direction will be considered. The plasmas are flowing through porous media between two rigid planes and surface tension is taken into account. A general dispersion relation is obtained analytically and solved numerically. For Kelvin-Helmholtz instability problem, the stability criterion is given by a critical value of the relative velocity. On the other hand, a comparison between inviscid and viscous potential flow solutions has been made and it has noticed that viscosity plays a dual role, destabilizing for Rayleigh-Taylor problem and stabilizing for Kelvin-Helmholtz. For Rayleigh-Taylor instability, a new dispersion relation has been obtained in terms of a critical wave number. It has been found that magnetic field, surface tension, and rigid planes have stabilizing effects, whereas critical wave number and porous media have destabilizing effects.