Satan—the man meant being ‘Ammār?’
I replied, ‘Yes.’
He said, ‘Is there not among you—or in your midst—the keeper of the secret known to no one else?’
I replied, ‘Yes.’” The hadith continues. (1)
That secret (2) was his knowledge of the identities of certain hypocrites who were present during the expedition to Tabūk. They intended to loosen the girth of the Messenger of Allah’s she-camel at night so that he would fall. Allah informed him about them, and Hudhayfa was nearby, so he identified them to him. Whenever someone whose true standing was unknown died, ‘Umar would not offer the funeral prayer for him until Hudhayfa did so, fearing that the deceased might have been one of the hypocrites.
The fact that some Companions and righteous people knew certain future events does not mean that any of them knew them all.
As for the extremists who [used to] (3) claim that ‘Alī knew future events without exception, this is a manifest lie. Knowledge of some future events was not unique to him, while knowledge of them all was attained neither by him nor by anyone else.
What also makes clear to you (4) that ‘Alī did not know future events is that, in his governance and his wars during his caliphate, he made many assumptions, only for matters to turn out contrary to what