The Clot - 96:12 Or preached righteousness?
If he had preached virtue:
The Family Of Imran/3:104 Let there be among you a community calling to good, exhorting to prudence and forbidding evil. These are the successful.

The Time/103:3 Except those who believe and do righteous deeds and admonish one another of the truth and admonish one another of patience.

The City/90:14 To feed in times of famine:
The City/90:17 Moreover, to be of the believers who exhort one another to patience and love.

The Family Of Imran/3:114 They believe in Allah and the Last Day, and they exhort to good and forbid evil and do good deeds. They are of the righteous.