The same Torah applies to both you and any foreigner living with you.

14 And if a stranger dwells with you, or whoever is among you throughout your generations, and would present an offering made by fire, a sweet aroma to the Lord, just as you do, so shall he do. 15 One ordinance shall be for you of the assembly and for the stranger who dwells with you, an ordinance forever throughout your generations; as you are, so shall the stranger be before the Lord. 16 One law and one custom shall be for you and for the stranger who dwells with you.’ ”

Numbers 15:14-16 (NKJV)