The Messenger of Allah ﷺ stood up to deliver a sermon and said, "People, false testimony has been equated with associating partners with Allah ." He repeated this three times, then recited, "So avoid the abomination of idols, and avoid false speech" [Hajj 22:30].
حدثنا مروان بن معاوية أخبرنا سفيان بن زياد عن فاتك بن فضالة
قام رسول الله ﷺ خطيبا فقال يا أيها الناس عدلت شهادة الزور إشراكا بالله عز وجل ثلاثا ثم قال {اجتنبوا الرجس من الأوثان واجتنبوا قول الزور}