The Messenger of Allah (ﷺ) said , " If the person who passes in front of a praying person , realizes the enormity of the sinfulness of this act , it will have been better for him to wait forty than to pass in front of him . "
[ Al - Bukhari and Muslim , riyad as - salihin 1758 ]