Thank you for your question
My name is Clare
I shall do my best to help you but I need some further information first?
Where is the child at the moment?
How much is the house worth and how much is outstanding on the mortgage?
What other assets are there and what income do they each have?
How much will a two bedroom property in the same school area cost to buy?
Your friend has an absolute right to return to the Matrimonial home whenever she wishes - and if her ex refuses then she can apply to the court for an Occupation Order forcing him to leave and allowing her to return.
In the longer term she also has a financial claim on the property - and will receive at least 50% of the equity - plus one of the cars and spouse and child maintenance
I hope that this is of assistance - please ask if you need further details
No he should not have done that
You are welcome - I hope all goes as well as it can