Summary

Yosef Karo Shulchan Aruch — Yoreh Deah 385

One who finds his fellow a mourner in the first 30 days, he should comfort him but should not greet him. After 30 days he can greet him, but should not comfort him in the usual manner, rather in an subtle way, namely, that he should not mention to him the name of the deceased, rather he should say to him, “be comforted.”
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature