Question
What scripture does the sacred thread mantra come from?
Answer
I don't know if there's an earlier source, or if there are any scriptures elucidating what prajāpateryat sahajaṃ refers to, but the verse is found in Pāraskara Gṛhyasūtra 2.2.11.
Note: “The question: What scripture does the sacred thread mantra come from?” is licensed by Stack Exchange Inc (https://hinduism.stackexchange.com/); user contributions licensed under CC BY-SA.