This hadith has been transmitted on the authority of Ibn 'Umar (RA) with a slight variation of wording (and the wording) that Allah's Messenger (ﷺ) said this on the pulpit. This hadith has been reported on the authority of Ibn 'Umar (RA) but through another chain of transmitters.