וַיָּ֧קָם הַמֶּ֛לֶךְ וַיִּקְרַ֥ע אֶת־בְּגָדָ֖יו וַיִּשְׁכַּ֣ב אָ֑רְצָה וְכָל־עֲבָדָ֥יו נִצָּבִ֖ים קְרֻעֵ֥י בְגָדִֽים׃ (ס)
王就起來,撕裂自己的衣服,躺在地上;他所有的臣僕也都撕裂衣服,站在旁邊。
Kitzur Shulchan Arukh
When a person suffers the loss [the death] of one for whom he is obligated to mourn, he must tear his garments because of it. He must tear his garments while standing, as it is said, "And the king arose and tore his garments."1II Samuel 13:31. If he tore his garments while sitting, he has not fulfilled his obligation, and he must again tear his garments while standing. Initially he should tear them before the deceased is covered in the grave, when his sorrow is still intense.