Car turns off

My 2001 Honda Civic for seemingly no reason will stall. The motor shuts off but the car will still keep rolling for a bit and the battery and oil lights come on. This only seems to happen during the day and my fiancee is convinced that it only happens if we are driving “slowly”. We have only experienced it during the day time when it is hot and sunny.