Do you have a source for your story?
I would like the source, too, if you get it. :)
The tradition comes from Bahar al-Anvar (meaning Oceans of Light) by Mullah Majlisi, a magnum opus in 132 volumes and the basis of modern Shiite Islam.
According to the tradition, Imam Ali Ibn Abi-Talib (the prophets cousin and son-in-law) prophesied that at the End of Times and just before the return of the Mahdi, the Ultimate Saviour, a tall black man will assume the reins of government in the West. Commanding the strongest army on earth, the new ruler in the West will carry a clear sign from the third imam, whose name was Hussein Ibn Ali. The tradition concludes: Shiites should have no doubt that he is with us.
In a curious coincidence Obamas first and second namesBarack Husseinmean the blessing of Hussein in Arabic and Persian. His family name, Obama, written in the Persian alphabet, reads O Ba Ma, which means he is with us, the magic formula in Majlisis tradition.
http://www.cogwriter.com/news/prophecy/barack-obama-in-islamic-prophecy/