Leila B. answered 03/29/19
More than 13 years of experience teaching French.
let me clarify something to you. It seems that you are confused about these words
1/ these words Hijra and mahjoor have the same root
ه- ج-ر which could be translated as
hijra : هجرة to emigrate - immigration
Mahjoor : مهجور left behind - abondoned
2- the words حجر & حجر share the same root ح-ج-ر
in order for you to be able to get the roots of any words you have to know the rules which are very simple , but you may need to practice as we do in the arabic countries.