Global condemnation, condolences after mosque attack