It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade a man to sit between the shade and the sun (i.e. partly in both at the same time).
Al-Bazzar recorded it; its chain contains Isma'il bin Muslim al-Makki, who is matruk (abandoned).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الأدب / 12928