Hemolytic anaemia is seen most commonly due to