Answer:
(Fatwa: 960/883=L/1429)
It has no base in Islam, the Hadith says: لا عدوی و لاطیرۃ(there is no evil omen no superstition). However, one should avoid sleeping under the beam, since if he gets sick by the order of Allah, he will fall in superstition.
Allah (Subhana Wa Ta’ala) knows Best
Darul Ifta,
Darul Uloom Deoband
