Siman 359
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 Wherever it is the accepted custom for women to precede the bier, they may do so; wherever it is the accepted practice to follow the bier, they may do so. Now it is customary for them only to follow the bier, and [this custom] should not be changed.
ב יֵשׁ לִמְנֹעַ מִלָּצֵאת נָשִׁים לְבֵית הַקְּבָרוֹת אַחַר הַמִּטָּה.
2 Women should be withheld from following the bier to the cemetery.