At Skandasramam a peacock would follow Bhagavan Sri Ramana Maharshi everywhere.

One day a huge black cobra appeared in the Ashram and the peacock attacked it fiercely.

The cobra spread its hood and the two natural enemies were poised for a fight to the death, when Bhagavan Sri Ramana came quite near the cobra and said:

“Why did you come here?
That peacock will kill you.
Better go away at once.”

The cobra immediately lowered its hood and slithered away.

— "At the Feet of Bhagavan" book