It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you is sitting in the sun and the sunlight shrinks away from him (as the shade moves), let him move from that place of his." Likewise, in the narration of al-Harith bin Muhammad bin Abi Usamah: "The Messenger of Allah (peace and blessings be upon him) forbade sitting between the shade and the sun (with part of the body in the shade and part in the sun)." Al-Hakim Abu Abdullah al-Hafiz also narrated it like al-Harith's narration and declared it "sahih al-isnad" (authentic in its chain), while Imam Abu Dawud recorded it in his Sunan, and one of its Successor narrators is "majhul" (unknown).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الأدب وغيره / 5460
Hadith Gradingمحدثین:قال الحاكم: صحيح الإسناد
Hadith Takhrij«(5460/1) أخرجه سنن أبي داود برقم: 4821، وأخرجه مسند أحمد برقم: 8753، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 8809» «(5460/2) أخرجه سنن ابن ماجه برقم: 3722، وأخرجه مصنف ابن أبي شيبة برقم: 2»