Following the conquest of a region/state/etc, what became of the pigs following the subsequent conversion of Islam in the preceding years? Were they slaughtered en masse? Slowly bred out due to lack of demand? Did these newly converted Muslims continue to consume pork?
Interesting enough I just did some reading on pigs and the Roman diet. They're a luxury food that really only predominated in the area around Rome, a demonstration of wealth and power.
In the east, the consumption of meat was primarily sheep and goats with cattle a distant third and pigs a small minority (6.7% of recovered bones). So there probably wasn't a big issue there.
North Africa is fairly different with low pig consumption during the empire (18% of meat diet), then increasing in Late Antiquity (32% of meat diet), and then not surprisingly plummeting in the Islamic phase (5% of meat diet). The data for the Imperial and Islamic period is a bit thinner so grain of salt and all that.
The one thing that's evident from the study is that rural regions tended to preserve their eating habits while military or urban sites changed to adopt a more (in this case) 'Roman' diet. So I'd hypothesize that it followed a similar pattern, it probably phased out over time - either willingly or at the point of a spear.
I'd note also that in the study the author notes that some pig bones do turn up in Iron Age Jerusalem, "[i]t may therefore be the case that the strict application of a ban on pork consumption was at its strongest later, i.e. in the late first millennium B.C. and early Imperial periods." If it took the Jews a few centuries to enforce a ban, I can't see Muslims not having the same issues.
Source: Anthony King, Diet in the Roman world: a regional inter-site comparison of the mammal bones.