Qamoos temple was conquered by Hazrat Ali (R.A) during which war?

Qamoos temple was conquered by Hazrat Ali (R.A) during which war?

حضرت علی رضی اللہ عنہ نے کس جنگ میں قاموس مندر کو فتح کیا؟
Explanation

The Battle of Khaybar was fought in the year 628 between Muslims and the Jews living in the oasis of Khaybar, located 150 kilometers (93 mi) from Medina, Saudi Arabia. 

This battle was fought in Sevent Hijri.

Muslims won the battle.