There is nothing wrong with a fasting person using cream or ointment for haemorrhoids
Does using cream or ointment for haemorrhoids, whether inside or outside, in Ramadan break the fast and require the fast to be made up?.
Praise be to Allaah.
Using cream or ointment for haemorrhoids does not affect the fast.
And Allah is the source of strength. May Allah send blessings and peace upon our Prophet Muhammad and his family and Companions. End quote.
Standing Committee for Academic Research and Issuing Fatwas
Shaykh ‘Abd al-‘Azeez ibn Baaz, Shaykh ‘Abd al-‘Azeez Aal al-Shaykh, Shaykh ‘Abd-Allaah ibn Ghadyaan, Shaykh Saalih al-Fawzaan, Shaykh Bakr Abu Zayd