Wolcott-Rallison syndrome is the most common genetic cause of permanent neonatal diabetes in consanguineous families.