There are two sources in the Torah that can serve as instructions for the idea of circumcision, and a few other important references to the idea that circumcision is an integral component of the definition of Jewish peoplehood.
The first time the subject of circumcision is raised is in Bereshit (Genesis) Chapter 17, in the context of the BRIT - Covenant - forged between Abraham and God.