Wikipedia on the Gospel of Thomas

The Gospel of Thomas (also known as the Coptic Gospel of Thomas) is a non-canonical sayings gospel. It was discovered near Nag Hammadi, Egypt, in December 1945 among a group of books known as the Nag Hammadi library. Scholars speculate that the works were buried in response to a letter from Bishop Athanasius declaring a strict canon of Christian scripture.