Exodus 12:48

Amplified Bible (AMP)
If a stranger living temporarily among you wishes to celebrate the Passover to the Lord, all his males must be circumcised, and then he may participate and celebrate it like one that is born in the land. But no uncircumcised person may eat it.

Read Exodus 12:48 in other translations