After proceedings to foreclose the mortgage have been begun, a purchaser from the mortgagor shall be bound by the judgment of foreclosure.