They're not compatible, democracy is contrary to Islam.
"Democracy is a man-made system, meaning rule by the people for the people. Thus it is contrary to Islam, because rule is for Allaah, the Most High, the Almighty, and it is not permissible to give legislative rights to any human being, no matter who he is.
It says in Mawsoo’at al-Adyaan wa’l-Madhaahib al-Mu’aasirah (2/1066, 1067):
Undoubtedly the democratic system is one of the modern forms of shirk, in terms of obedience and following, or legislation, as it denies the sovereignty of the Creator and His absolute right to issue laws, and ascribes that right to human beings. Allaah says (interpretation of the meaning):
“You do not worship besides Him but only names which you have named (forged) — you and your fathers — for which Allaah has sent down no authority. The command (or the judgement) is for none but Allaah. He has commanded that you worship none but Him (i.e. His Monotheism); that is the (true) straight religion, but most men know not”
[Yoosuf 12:40]"
https://islamqa.info/en/answers/107...nd-elections-and-participating-in-that-system