Temporal stability of superposed magnetic fluids in porous media