The Lankavatara Sutra is one of the founding sutras of the Yogacara school of Mahayana Buddhism. It was composed in Sanskrit somewhere in the fourth century CE. In the story that frames it the Buddha is on Mount Malaya in Lanka (present-day Sri Lanka), answering a long series of questions from the yaksha king Ravana, the bodhisattva Mahamati, and his own attendants. Over more than three hundred pages of dialogue and verse it works out the main Yogacara teaching. What you take for a world outside you is a movement of mind. The line between the one who perceives and what is perceived is made by the eight consciousnesses. Seeing this is the way through.
It mattered a great deal to early Chan. The traditional account says the first patriarch, Bodhidharma, brought a copy with him from India to China in the early sixth century, and for a time the early Chan school called itself the Lankavatara school (Lengqie zong). The teaching of one mind, which runs through much of later Zen, is worked out as philosophy here.
For a Mahayana text it is unusually philosophical and orderly. It sets out the eight consciousnesses: the five sense consciousnesses, the mind-consciousness that forms concepts, the manas or self-consciousness that creates the sense of a separate I, and the alaya-vijnana or storehouse-consciousness, where the seeds of past actions are laid down as habits and from which they ripen. It sets out the three natures, which separate the imagined, the dependent and the perfected sides of anything that appears. And it keeps coming back to one statement: the world is no more than mind, no more than what is seen.
Where to read
D. T. Suzuki’s 1932 English translation, The Lankavatara Sutra: A Mahayana Text, is still the standard scholarly version. It is still in copyright (Suzuki died in 1966). Suzuki also wrote a companion volume, Studies in the Lankavatara Sutra (1930), which is the most useful book-length introduction.
Red Pine’s more recent The Lankavatara Sutra: Translation and Commentary (2012) puts it into contemporary English with a lot of commentary.
The standard translations are still in copyright, so I haven’t put one here. The Wikipedia article for the Lankavatara Sutra is a good place to start for background and for links to digital copies.