It's not just Muslim countries, across most nations the age of consent is between 14-18. Forget countries, you can have age of consent varying by state.
Germany, Italy, Austria and Portugal for example all have it at 14. There are even exceptions going as low as 12 if both the boy and the girl...