It was narrated that 'Ali bin Abu Talib said:
"The Messenger of Allah said: 'Whoever builds a mosque for the sake of Allah (from his own wealth), Allah will build a house for him in Paradise.'"