Arab royalty and heads-of-state , joined by European , American and other international officials , gathered for the service at a mosque near Cairo 's airport .