Kesuvos 39: Shomer Pe'saim Hashem

When do we rely on this and when do we require Hishtadlus?