Sunan Ibn Majah, Volume 5, Book 33, Hadith 3722 (DarusSalam) ⓘ
It was narrated from Ibn Buraidah, from his father, that the Prophet : "forbade sitting between the shade and sun."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ، عَنْ أَبِي الْمُنِيبِ، عَنِ ابْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ نَهَى أَنْ يُقْعَدَ بَيْنَ الظِّلِّ وَالشَّمْسِ .
also referenced under: Hadith 3722 (Reference) & Book 33, Hadith 67 (In-Book)