Ask an Property Solicitor. Get an Answer ASAP.
I'm getting 100% mortgage as mom is a retired pensioner. She is happy to contribute towards deposit and mortgage, however, I've sufficient funds for the deposit and can afford mortgage repayments from my salary.
We currently reside in the property we're buying and will continue to live here, so there is no planned 'eventual sale'. If in future the house is sold, happy to share the proceeds.