Instead of going to university, he opted to study the Koran at a Mauritanian madrasa. Returned to Timbuktu in 1990, he was refused preaching licence at the Grand Mosque. After his brother, who was a fighter of the Arab Islamic Front of Azawad, was killed by the Malian army during the Tuareg rebellion of the early 1990s, Ould Hamaha went underground.