Unknown assailants on Friday fired a rocket into a hotel in north Mogadishu where senior government officials were staying in the latest post-war violence in the chaotic Somali capital, security officials said.