It is the duty of Muslims to side with the oppressed and persecuted regardless of their religion, race, or ethnicity. Almighty Allah says, (O you who believe! Be steadfast witnesses for Allah in equity; and let not hatred of any people make you swerve from justice. Deal justly; that is nearer to God-fearing. Fear Allah. Allah is Aware of what you do) (Al-Ma’idah 5: 7).
Therefore, Muslims must condemn the holocaust, genocide, or murder of any people, regardless of their religion, nationality, or race.
Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states: As Muslims we are not allowed to condone the holocaust, genocide, or murder of any people, regardless of their religious, ethnic, or racial affiliations. Almighty Allah says, (For that cause We ordained for the children of Israel that whosoever kills a human being for other than (the crimes of) manslaughter or corruption in the earth, it shall be as if he had killed all mankind; and whosoever saves the life of one, it shall be as if he had saved the life of all mankind) (Al-Ma’idah 5: 32).

The fact that the victims are Jews does not make any difference. Islam does not fault the father for the crime of his son; nor is the husband faulted for the sin of his wife or vice versa. As Allah says, (Each soul earns only on its own account, nor does any laden (soul) bear another’s load) (Al-An`am 6: 164). Each person, therefore, is responsible for his/her own deeds. So targeting an entire race or ethnic group as it was done by Hitler is a crime against all of humanity, not just against the Jews. In the same vein, we must affirm this as a universal, ethical imperative, for Allah’s laws are universal, applicable to all times and places. Holocaust or genocide practiced against any people must be condemned. It is the duty of Muslims to side with the oppressed and persecuted regardless of their religious, racial, or ethnic affiliations. Allah says, (O you who
believe! Be steadfast witnesses for Allah in equity; and not hatred of any people make you swerve from justice. Deal justly; that is nearer to God-fearing. Fear Allah. Allah is Aware of what you do
) (Al-Ma’idah 5: 7).
In light of the above, we must condemn the holocaust, genocide, or murder of any people, regardless of whether it is targeted against Jews, Muslims, Christians, Hindus, Buddhists, etc., and regardless of whether they are Jews, Arabs or Palestinians, or black or white, yellow or brown, etc. This is God’s immutable law as revealed to all of His prophets from Adam to Muhammad, including Abraham, Moses, and Jesus (peace and blessings of Allah be upon them all).