وقدر روى ان الخطبة قبل الصلاة روى ذلك
And it has also been narrated that the sermon is before the prayer. This has been reported as well.