Smoking And Prayer
No, your prayer would not be invalid for 40 days.