Answer
Quraysh and Ansar, prominent Muslim groups, aligned themselves with Ibn al-Zubayr, adding considerable support to his cause. These influential factions played a pivotal role in shaping the political landscape during the Second Fitna, bolstering Ibn al-Zubayr's position as a formidable rival to the Umayyad caliphate.