Does Islam have any explanation for the phenomenon of Deja vu? It’s the feeling that one has lived a certain moment before or remembers details about a moment that hasn’t happened yet. For example, if someone is walking down the street then thinks to themselves “I remember this, a cat is going to come around that corner any second now” and then a cat actually comes around the corner. Is this just some random brain trick or has this ever been explained before by the prophet or ahlul bayt? I’ve never heard of it ever discussed but I’m curious

I am not aware of it being discussed as a phenomenon for lay people. Yes for the friends of God they’re told of things by permission of Allah