These caves are located in the village of Tawghazout in the castle of Bani Salama. It is a Berber fortress inhabited by the tribes of the fines in the second century AD and then the Romans. The scholar Ibn Khaldun resided there, where he wrote the introduction book and the first part of the book “Diwan Al-Abra” from 1375 to 1378;