Abu Hurayrah (may Allah be pleased with him) who said: The Messenger of Allah (peace and blessings of Allah be upon him) said: “There is no ‘adwa (contagion except by the will of Allah) and no tiyarah (superstitious belief in bird omens).” Narrated by al-Bukhari, 5757; Muslim, 102.
The believer should not be pessimistic or superstitious, rather he should always be optimistic and think well of His Lord. If he hears something or sees something he should hope for the best, even if it seems to be otherwise. He should hope for good from his Lord in all circumstances. This is how the believer is, for all his affairs are good, as the Prophet (peace and blessings of Allah be upon him) said: “How wonderful is the affair of the believer, for his affairs are all good, and that does not apply for anyone except the believer. If something good happens to him he gives thanks, and that is good for him; if something bad happens to him he bears it with patience, and that is good for him.” (Sahih Muslim, 2999)
Refer Complete Answer
https://islamqa.info/en/answers/46985/eye-twitching-in-islam-a-bad-omen