Title: Hafsid dynasty
Content:  The Hafsids (الحفصيون al-Ḥafṣiyūn) were a Sunni Muslim dynasty of Berber descent who ruled Ifriqiya (western Libya, Tunisia, and eastern Algeria) from 1229 to 1574.
Title: History of medieval Tunisia
Content:  The Hafsid dynasty (1230–1574) succeeded Almohad rule in Ifriqiya, with the Hafsids claiming to represent the true spiritual heritage of its founder, the Mahdi Ibn Tumart (c. 1077 – 1130). For a brief moment a Hafsid sovereign would be recognized as the Caliph of Islam. Tunisia under the Hafsids would eventually regain for a time cultural primacy in the Maghrib.
Title: History of Tunisia
Content:  The Hafsid dynasty (1230–1574) succeeded Almohad rule in Ifriqiya, with the Hafsids claiming to represent the true spiritual heritage of its founder, the Mahdi Ibn Tumart (c.1077–1130). Under the Hafsids, Tunisia would eventually regain for a time cultural primacy in the Maghrib.
Title: Hafsid dynasty
Content:  In the 14th century the empire underwent a temporary decline. Although the Hafsids succeeded for a time in subjugating the empire of the Abdalwadids of Tlemcen, between 1347 and 1357 they were twice conquered by the Marinids of Morocco. The Abdalwadids however could not defeat the Bedouin; ultimately, the Hafsids were able to regain their empire. During the same period plague epidemics brought to Ifriqiya from Sicily caused a considerable fall in population, further weakening the empire. To stop raids from southern tribes during plague epidemics, the Hafsids turned to the Banu Hilal to protect their rural population.
Title: History of medieval Tunisia
Content:  a rival claimant to the title advanced; the Hafsids remained a local sovereignty.  Since their origins with Abu Zakariya the Hafsids had represented their regime as heir to the Almohad movement founded by the Mahdi Ibn Tumart, whose name was invoked during Friday prayer at emirate mosques until the 15th century. Hafsid government was accordingly constituted after the Almohad model created by the Mahdi, i.e., it being rigorous hierarchy. The Amir held all power with a code of etiquette surrounding his person, although as sovereign he did not always hold himself aloof. The Amir's counsel was the Ten, composed of the chief Almohad shaiks. 
Title: Hafsid dynasty
Content:  In the 16th century the Hafsids became increasingly caught up in the power struggle between Spain and the Ottoman Empire-supported Corsairs. The Ottomans conquered Tunis in 1534 and held it for one year, driving out the Hafsid ruler Muley Hassan. A year later the King of Spain and Holy Roman Emperor Charles I and V seized Tunis, drove the Ottomans out and restored Muley Hassan as a Hapsburg tributary. Due to the Ottoman threat, the Hafsids were vassals of Spain after 1535. The Ottomans again conquered Tunis in 1569 and held it for four years. Don Juan of Austria recaptured it in 1573. The Ottomans reconquered Tunis in 1574, and Muhammad VI, the last Caliph of the Hafsids, was brought to Constantinople and was subsequently executed due to his collaboration with Spain and the desire of the Ottoman Sultan to take the title of Caliph as he now controlled Mecca and Medina. The Hafsid lineage survived the Ottoman massacre by a branch of the family being taken to the Canary Island of Tenerife by the Spanish.
Title: Hafizi Isma'ilism
Content:  Soon after the split, the Zurayid ruler Saba ibn Abu'l-Su'ud declared himself as the Hafizi dāʿī in Yemen, thus becoming the head of the Hafizi community there. By the time of his death in 1138, he had eliminated the rival branches of his family and established his rule over the city and hinterland of Aden. His successors were officially recognized as dāʿīs by Cairo and invested with honorific titles by al-Hafiz. The Zurayid dynasty lasted until the Ayyubid invasion of 1173. The last members of the clan held out in the fortress of Dumluwa until 1188, but they finally sold it to the Ayyubids and left Yemen for Abyssinia. Further north, 
Title: Hafsids of Béjaïa
Content:  The Hafsids of Béjaïa were a dynasty of independent or autonomous emirs. They were a branch of the Hafsid dynasty that ruled from Tunis; at times they recognised the caliph in Tunis and at other times they ruled independently. Periodically there was also conflict between the two branches of the dynasty.
Title: Hafizi Isma'ilism
Content:  Hafizi Isma'ilism (حافظية or مجيدية, Majīdiyya) was a branch of Musta'li Isma'ilism that emerged as a result of a split in 1132. The Hafizis accepted the Fatimid caliph al-Hafiz ((r. 1132 – 1149)) and his successors as imams, while the rival Tayyibi branch rejected them as usurpers, favouring the succession of the imamate along the line of al-Hafiz's nephew, al-Tayyib. The Hafizi sect lost state backing and gradually disappeared after the fall of the Fatimid Caliphate in 1171 and the conquest of the Fatimid-aligned dynasties of Yemen by the Sunni Ayyubid dynasty shortly after. The last remnants of the Hafizi branch are attested in the 14th century in Egypt and Syria, but had died out by the 15th century.
Title: Hafsid dynasty
Content:  most powerful ruler of Maghreb. At this time the Hafsids also occupied the Berber emirate of Siyilmasa which they retained for 30 years. By the end of his reign, the Marinid Dynasty of Morocco and several Muslim princes in Al-Andalus paid him tribute and acknowledged his nominal authority. His successor Muhammad I al-Mustansir (1249–1277) proclaimed himself Caliph in 1256 and continued the policies of his father and extended the boundaries of his State by subjugating the central Maghreb, going so far as to impose his overlordship over the Kingdom of Tlemcen, northern Morocco and the Nasrids of Granada Spain. The Hafsids become completely independent in 1264. It was during his reign that the failed Eighth Crusade took place, led by St. Louis. After landing at Carthage, the King died of dysentery in the middle of his army decimated by disease in 1270.

Question: What is the religion of Hafsid dynasty?
Answer: Sunni Islam.
Sunni.
Sunnite Muslims.
Sunnite Muslim.