the procession was nearing the aswan dam when an army of more than a million muslims appeared out of the east carrying black flags or banners of war , a sure sign that the appearance of the mahdi is imminent .