Raziallahu Anhu is used for male companions and Raziallahu Anha is used for female companions of Prophet Muhammadﷺ.
Arabic text -
Radhiallah Anhum رضي الله عنهم (for plural male) and
Rathiallah Anhu رضي الله عنه (for singular male)
Rathiallah Anha رضي الله عنها (for singular female)