Where a sale of immovable property is set aside, any money paid or deposited by the purchaser on account of the purchase, together with the penalty, if any, deposited for payment to the purchaser, shall be paid to the purchaser. ...