The battle has been passed down in Islamic history as a decisive victory attributable to divine intervention and also the genius of Muhammad . The battle has been passed down in Islamic history as a decisive victory attributable to divine intervention , or by secular sources to the genius of Muhammad .