The village is named after Yacoub ibn Ibrahim ibn Adham (d. 782), the son of the famous Sufi master nicknamed Sultan, and buried in nearby Jableh, Syria, as the inscription on the grave reads.
Two clerics from the region tried to write a history of their town, and they too conflated Sultan Yacoub ibn Ibrahim, with the most famous of all Almohad rulers, Yaqub al-Mansur, and they copy/pasted included several pages from Ibn Khaldun and Ibn Adhari concerning the Almohad sultan in their editions of the history of the village, to the point where excerpts from their book having been printed and posted on the entrance of the shrine, thereby further reinforcing the myth among the unassuming locals.