The Bodhisatta was once an ascetic who had five hundred followers studying with him in the Himalayas. He sent his pupils down to the city for one rainy season and they resided in the royal park at the invite of the king, who had been informed of their excellent character. When the city had a drinking festival the king sent a large supply of alcohol to the students and they all got drunk, dancing and singing late into the night. When they woke the next morning they felt so ashamed of their behavior they immediately returned to the mountains. When they told the Bodhisatta what they had done, he told them it was normal for students not living under the care of a master, and told them to never do it again.
In the Lifetime of the Buddha
One time Sagata, one of the Buddha’s top disciples, who was very adept at magic, pacified a dangerous naga and converted him to respect dharma. When people heard of this they wanted to give him special alms, but he asked for nothing. Some mischievous disciples suggested alcohol and the next day Sagata was given a lot. He got drunk and passed out along the road.
When the Buddha heard some of his disciples discussing Sagata’s transgression, he told them this story so they knew it was not the first time people who had renounced the world had gotten drunk.
The Bodhisatta’s students were earlier births of the Buddha’s disciples.