Three people were killed on Wednesday as police opened fire to control stone-throwing rioters in Afghanistan during a fifth day of protests against cartoons of the Prophet Mohammed, a doctor said.