My question is will gog magog emerge before or after zahoor e imam Mahdi?
I have heard so much about alaaime zahoor and read the signs but not even a single source mentions them in alaaime zahoor

It is not known when exactly they would emerge. Narrations indicate they will emerge before the “hour” or the Day of Judgment. A number of scholars understand that this will happen after the reappearance of Imam Mahdi (a). After he establishes his government, when the Day of Judgment gets closer, they will emerge.