The same report is likewise narrated from Sayyiduna Sabrah (may Allah be pleased with him): that the Prophet (peace and blessings be upon him) said this to his Companions when departing from al-Hijr.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6522