The Banu Jalaf was a family that ruled Huesca and the region called Barbitanya on the Iberian Peninsula from about 802 to 862, and Barbitanya alone from 862 to about 882.
The first ruler was Jalaf Ibn Rashid (802), who settled with his clan in the village they named Midayar, modern Barbastro. The city castle (Barbastra) was the centre of the Muslim domain in the region.
Jalaf died before 862. In this year the government of Huesca was conferred on the Banu Qasi family. His son Abd Allah ibn Jalaf then ruled Barbitanya. In the 870s, he allied himself with rebel Isma'il ibn Musa ibn Qasi, to whom Abd Allah married his daughter. In retaliation, at the end of the decade Muhammad I of Córdoba entered Huesca and killed Abd Allah and all of his children, and took possession of the Banu Jalaf lands.