The Swan and the Quail Who Kept Bad Company
The parrot will carry the peacock king's message, but not beside the crane, and he tells two short tales to say why.
The parrot explains why he will not travel with the crane: a swan was shot for a crow's mischief, and a quail was killed for flying beside one. The crane protests, and the parrot tells him his own words are the cause of this quarrel. The crane is sent home, his report to the swan king ends, and an envoy is on his way with a claim on the swan king's island.
The Parrot Gives His Reason
The parrot had said yes to the king and no to the crane. He would carry the peacock king's message to the swan king's island. He would not fly there beside Dirghamukha.
Around them sat the court of Chitravarna on the Vindhya mountain. Now the whole court waited to hear why.
Far away, on lake Padmakeli, the crane is telling all of this to his own king, the swan Hiranyagarbha. So every word the parrot said against the crane, the crane himself is now repeating to his master.
The parrot had given one verse already: the wicked do the wrong, and the good pay for it. Then he spoke another:
न स्थातव्यं न गन्तव्यं दुर्जनेन समं क्वचित् । काकसङ्गाद् धतो हंसस् तिष्ठन् गछंश् च वर्तकः ॥
na sthātavyaṃ na gantavyaṃ durjanena samaṃ kvacit kāka-saṅgād dhato haṃsas tiṣṭhan gachaṃś ca vartakaḥ
Do not stay with a wicked one, and do not travel with him, anywhere. Through a crow's company, a swan was killed while staying, and a quail while travelling.
Hitopadesha, Vigraha 23
"How was that?" asked the king. The parrot told him two short stories, one after the other.
The Swan Who Gave Shade
On the road to Ujjayini stood a plaksha tree, a kind of fig. A swan and a crow lived in it.
One summer day a traveller came along that road, worn out. He laid his bow and arrows beside him under the tree and fell asleep.
After a little while, the shade of the tree moved off his face. The hot sun lay full on it.

The swan saw this. He was a royal swan, good and clean in his ways. Out of pity he spread his wings over the man's face and gave him shade again.