Peace be upon you. It is permissible to pray for a non-Muslim if they are not hostile or at war against Islam and Muslims. According to Grand Ayatollah Khamenei, there is no issue with this. Additionally, Grand Ayatollah Sistani states that a Muslim may pray for them to have their suffering alleviated and can perform good deeds on their behalf to lessen their punishment. It is also acceptable to recite Al-Fatiha and dedicate its reward to them for the purpose of alleviating their suffering, but not with the intention of seeking God's forgiveness for them. May you be successful in all good.