He was leaning against the Kaabah, saying, "By the Lord of this Kaabah, the Messenger of Allah ﷺ cursed so-and-so and the offspring of his loins."
حدثنا عبد الرزاق أخبرنا ابن عيينة عن إسماعيل بن أبي خالد عن الشعبي قال سمعت
وهو مستند إلى الكعبة وهو يقول ورب هذه الكعبة لقد لعن رسول الله ﷺ فلانا وما ولد من صلبه
Its isnad is sahih, its narrators are also leading authorities, and the hadith will come in detail with this same wording in the Musnad of Ayesha.