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]. (FR)
App reference (FR): Book 5, Hadith 9 (FR)
Arabic/English book reference (FR): Book 5, Hadith 822 (FR)