Abà «Ã¾l-QÃÂsim Aḥmad ibn al-Ḥusayn ibn Qasë (died 1151) was a Sufi, a rebel leader against the Almoravid dynasty in Al-Garb Al-Andalus and governor of Silves for the Almohads. The main sources for his life are Ibn al-AbbÃÂr, Ibn al-Khaá¹Âëb and ÿAbd al-WÃÂḥid al-Marrakà «shë. The last is the source for his biography in the biographical dictionary of al-á¹¢afadë.
He was of native Iberian stock, rà «më al-aá¹£l in the words of Ibn al-AbbÃÂr. He was born at Silves, but the date of his birth is unknown. His name sustains the possibility that he was a descendant of the Banu Qasi, that had once staged a rebellion against the Emirate of Cordoba. According to Ibn al-AbbÃÂr, he was a minor government official at Silves, while Ibn al-Khaá¹Âëb describes him as a spendthrift. He eventually sold all his goods, gave the money to the poor and became a murëd. He studied under Khalaf AllÃÂh al-Andalusë and Ibn Khalël in Niebla, although he may also have met Ibn al-ÿArëf in AlmerÃÂa. His main influences were the Encyclopedia of the Brethren of Purity (Ibn al-AbbÃÂr) and the works of al-GhazÃÂlë (Ibn al-Khaá¹Âëb).