Huayan school
The metaphor's earliest known reference is found in the Atharva Veda. It was further developed by the Mahayana school in the 3rd century "Avatamsaka Sutra" and later by the Huayan school between the 6th and 8th centuries.