Narrated Abu Huraira: The Prophet ﷺ said, "Allah will prepare for him who goes to the mosque (every) morning and in the afternoon (for the congregational prayer) an honorable place in Paradise with good hospitality for (what he has done) every morning and afternoon goings.
This hadith teaches us many values such as being consistent in our prayers, having faith in Allah's promise of rewards and punishments, being generous towards others by inviting them for prayers etc. It also encourages us to be regular worshippers so that we can reap its benefits both here on earth and hereafter too.