I would like to respectfully disagree.
A chapter 7 does require a 2 year waiting period after discharge.
A chapter 13 does NOT. You can receive an FHA mortgage immediately after discharge with reestablished credit and decent scores. This is because you have been in bk for at least 36 months from the file date of that BK.
FHA does approve mortgages for a chapter 13 bk even if you are NOT discharged yet as long as you have trustee permission and have made on time payments for 12 months or more to the trustee.
FHA will consider appoving a borrower who is still paying on a Chapter 13 Bankruptcy if those payments have been satisfactorily made and verified for a period of one year. The court trustee's written approval will also be needed in order to proceed with the loan. The borrower will have to give a full explanation of the bankruptcy with the loan application and must also have re-established good credit, qualify financially and have good job stability.