500 years old mosque