This sutta is identical with SN 8:5.
I have heard that on one occasion the Blessed One was staying near Sāvatthī in Jeta’s Grove, Anāthapiṇḍika’s monastery. There he addressed the monks, “Monks!”
“Yes, lord,” the monks responded to him.
The Blessed One said: “Monks, speech endowed with four characteristics is well-spoken, not poorly spoken—faultless & not to be faulted by the observant. Which four? There is the case where a monk says only what is well-spoken, not what is poorly spoken; only what is just, not what is unjust; only what is endearing, not what is unendearing; only what is true, not what is false. Speech endowed with these four characteristics is well-spoken, not poorly spoken—faultless & not to be faulted by the observant.”
That is what the Blessed One said. Having said this, the One Well-Gone, the Teacher, said further:
The calm say that what is well-spoken is best;
second, that one should say
what is just, not unjust;
third, what’s endearing, not unendearing;
fourth, what is true, not false.
Then Ven. Vaṅgīsa,1 rising from his seat, arranging his robe over one shoulder, faced the Blessed One with his hands palm-to-palm in front of his heart and said, “An inspiration has come to me, Blessed One! An inspiration has come to me, One Well-Gone!”
“Let the inspiration come to you, Vaṅgīsa,” the Blessed One said.
Then Ven. Vaṅgīsa praised the Blessed One to his face with these fitting verses:
“Speak only the speech
that neither torments self
nor does harm to others.
That speech is truly well-spoken.
Speak only endearing speech,
speech that is welcomed.
Speech when it brings no evil
Truth, indeed, is deathless speech:
This is a primeval principle.
The goal and the Dhamma
—so say the calm—
are firmly established on truth.
The speech the Awakened One speaks,
for attaining unbinding,
for making an end
to the mass of stress:
That is the speech unsurpassed.”
1. See Sn 2:12, note 1.