Gunmen travelling in a car opened fire early on Tuesday on a group of Egyptian policemen near Cairo's Al-Azhar university, killing three and wounding nine others, the interior ministry said.