Rainbow in the morning,
Sailors take warning;
Rainbow at night,
Sailor’s delight.
General in Canada and the United States.

Rainbow in the morning,
Sailors take warning;
Rainbow at night,
Sailor’s delight.
Source: Current Superstitions (1896), entry 975.
Fanny D. Bergen, editor.
Modern normalized navigation; the historical attribution above remains unchanged.