Siman 337
Presented here for study, not as a practical ruling. The Shulchan Aruch rules by Sephardi custom, the Rema's glosses by Ashkenazi custom, and the Kitzur follows Ashkenazi custom. For a practical question, ask your rabbi.
א חוֹלֶה שֶׁמֵּת לוֹ מֵת, אֵין מוֹדִיעִין אוֹתוֹ, שֶׁמָּא תִּטָּרֵף דַּעְתּוֹ עָלָיו. וְאֵין קוֹרְעִין חֲלוּקוֹ, וְאֵין בּוֹכִין, וְאֵין מַסְפִּידִין בְּפָנָיו, שֶׁלֹּא יִשָּׁבֵר לִבּוֹ; וּמַשְׁתִּיקִין אֶת הַמְנַחֲמִין מִפָּנָיו.
1 One of the seven relatives for whom it is obligated to mourn of a sick person dies, and don't tell him, lest he tears his clothes in this knowledge. And if no one can read his portion, and there is no choice, and there is no eulogy on him, and cause his heart to break; and they cause silence in front of him.