code of civil law
Article 21 A civil action brought against a citizen shall be under the jurisdiction of the people's court of the defendant's domicile; If the defendant's domicile is inconsistent with his habitual residence, it shall be under the jurisdiction of the people's court of habitual residence.
A civil lawsuit brought against a legal person or other organization shall be under the jurisdiction of the people's court where the defendant is domiciled.
If the domicile and habitual residence of several defendants in the same lawsuit are under the jurisdiction of two or more people's courts, they shall be under the jurisdiction of each people's court.
Article 22 The following civil actions shall be under the jurisdiction of the people's court of the plaintiff's domicile: if the plaintiff's domicile is inconsistent with his habitual residence, it shall be under the jurisdiction of the people's court of his habitual residence:
(a) the identity litigation filed against people who do not live in the territory of People's Republic of China (PRC);
(2) an identity relationship lawsuit filed against a person whose whereabouts are unknown or who is declared missing;
(3) A lawsuit against the person who has taken compulsory education measures;
(4) Proceedings against prisoners.