Islamic Interpretation of Dreams (Ibn-i Sirin):
Distraction in a dream and especially during prayers means envy and desire to rip others of their property and particularly close friends or relatives.
If one is distracted during his prayers by a creeping snake or a lion in a dream, it means that he must be on his guard and cautious with his wife or child. Distraction during prayers represents oneâs passions, desires, or it could mean heedlessness, soliciting temporary gains and declining from the eternal benefits of the hereafter.
(Also see Delirium)