Most lending institutions would like to have at least 30 days to provide a loan commitment to their client. Depending on the type of financing they may need more or less than 30 days.
References
Courtesy of HomeOwners Advantage and link that to their entry in the wiki which is at HomeOwners Advantage