No set time
There is no real set time frame that one can refer to prior to nursing a baby.
While you smoke, there are particulates from your smoke that can deposit on your clothes and be passively transmitted onto the baby. That can cause respiratory issues in babies. Studies have shown the risk of sudden infant death
syndrome is greater in household with smokers.