A Brief Description of Islam as the Shi'ites Believe
16_ MIRACLES AND THE KNOWLEDGE OF THE UNSEEN
Being the servant of God doesn't prevent the prophet to know the unseen, or the future and the past by the leave of God.
"God alone knows the UNSEEN, nor does HE make any one aware of HIS Mysteries, Except an apostle whom He has chosen.
THE HOLY QURAN _ S72: 26_27
We know that one of the miracles performed by Jesus, was to inform people of some of the mysterious affairs.
"... And Jesus said I declare to you what you EAT and what you store in your houses..."
THE HOLY QURAN _ S3: 49
Mohammad the prophet of Islam too, declared many secrets by the way of God's inspiration.
"That is of the unseen reports which we reveal by inspiration unto you."
THE HOLY QURAN _ S12 _ 102