Hello! My husband traveled a couple of times while we had a I-130 pending. He only had trouble one time because he stayed 6 months (pandemic) then went home and returned rather quickly. However we had a return ticket and he also had a LOE for work. Just make sure he has strong ties to his home country (job, house, etc) and a return ticket and he should be fine.