The militants used birdshot and targeted a group of tourists while entering the hotel on Al-Haram Street, the official said.
No casualties have been reported, however.
The attack only caused some damages to the bus and hotel gate and facade.
Security forces have launched a search for the attackers.
The attack on tourists came on a day when Egypt's Coptic Orthodox Christians were celebrating Christmas in the predominantly Muslim country.
Also Read
Egypt's security forces have been battling insurgency in North Sinai, which has witnessed many violent attacks by militants since the January 2011 revolution that toppled president Hosni Mubarak.
More than 600 security personnel have been reported killed since then.
Some extremists in the restive Sinai peninsula have pledged allegiance to the Islamic State terrorist group. They have also claimed the downing of a Russian jet that killed 224 people there last year.