The 5-magnitude tremor rocked the city of Granada at around 1am local time.