Sayyidah Umm Salamah (may Allah be pleased with her) relates: I know the greatest amount of wealth that came to the Prophet (peace and blessings be upon him) until Allah took him (in death): in the darkness of the night a pouch came to him (peace and blessings be upon him) containing eight hundred dirhams and a written note. He (peace and blessings be upon him) sent it to me, and it was my night. Then he (peace and blessings be upon him) returned after the Isha prayer and began praying in his place of prayer in the room. I had prepared the bedding for him (peace and blessings be upon him) and for myself, and I was waiting. He (peace and blessings be upon him) took a long time, then went out, then came back, and continued like this until the call was made for the Fajr prayer. He (peace and blessings be upon him) prayed, then came back and said: "Where is that pouch which kept me occupied last night?" He called for it and distributed it, then said: "Woe to you!" I said: O Messenger of Allah! You did something you never used to do before. He (peace and blessings be upon him) said: "I was praying, and it was brought to (my mind), so I would turn away from the prayer to look at it, then go back and pray."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 20301