Have a Tax Question? Ask a Tax Expert
If you take money from a retirement account (a 401k) there is no adverse situation if you use the property for rental until you move there.
If you are making a hardship withdrawal then the plan document would determine the withdrawal and although the ERISA rules govern retirement accounts you would not be penalized for the rental use till you could move there.
A retirement plan may, but is not required to, provide for hardship distributions. Many plans that provide for elective deferrals provide for hardship distributions. Thus, 401(k) plans, 403(b) plans, and 457(b) plans may permit hardship distributions.
The IRS would not penalize you. The plan must request their own documentation if this is a hardship withdrawal.