Dr. Mustafa Khattab, the Clear Quran - 2:189

Translation for 2:189

They ask you ˹O Prophet˺ about the phases of the moon. Say, “They are a means for people to determine time and pilgrimage.” Righteousness is not in entering your houses from the back doors.1 Rather, righteousness is to be mindful ˹of Allah˺. So enter your homes through their ˹proper˺ doors, and be mindful of Allah so you may be successful.

Foot notes

76438

 Before Islam, there was a superstitious practice for pilgrims to enter their homes through the back door upon returning from the pilgrimage. The verse suggests that being devoted to Allah wholeheartedly is more important than blindly following old traditions.