It's not as simple as that - he can claim he has a BENEFICIAL INTEREST in the home if he has contributed in any way.
This is usually financial but not always - maintaining the home, decorating and so on as if it were his own can count.
You say he paid rent - he may say he contributed to the mortgage. Did he have a rent book?
This is from the Shelter website:
I am not a sole or joint owner but feel I have contributed towards the home
If you've made contributions to the home, you can apply to establish a beneficial interest, which will take these contributions into account. Establishing a beneficial interest could allow you to get the right to live in the home, to prevent the sale of a home or get a financial share if the home is sold. If you want to apply to establish your beneficial interest you will have to go to court.
So without knowing all the details, he may have a claim.