Ibn 'Umar (May Allah be pleased with them) reported:
I saw Messenger of Allah (ﷺ) sitting in the compound of the Holy Ka'bah, with the thighs against the stomach and arms around his legs.[Al- Bukhari]. (AR)
App reference (AR): Book 5, Hadith 9 (AR)
Arabic/English book reference (AR): Book 5, Hadith 822 (AR)