
Fannie Mae's Deed-for-Lease Program allows qualified homeowners (or their tenants) to lease the home for up to 12 months at market-rate rent. The program requires the owner (in this case, your landlord) to execute a deed-in-lieu of foreclosure.
For complete details on the program, click here [1].
Links:
[1] http://knowyouroptions.com/avoid-foreclosure/options-to-stay-in-your-home/deed-for-lease