Notes from blind US hymn writer Fanny Crosby who wrote over 9,000 hymns:
On April 30th, 1868, Dr. W.H. Doane came into my house and said, "I have exactly forty minutes before my train leaves for Cincinnati. Here is a melody. Can you write words for it?" I replied that I would see what I could do. Then followed a space of twenty minutes during which I was wholly unconscious of all else except the work I was doing. At the end of that time I recited the words to "Safe in the Arms of Jesus." Mr. Doane copied them, and had time to catch his train. - Fanny Crosby