The mosque and minaret are mostly closely associated with which Pillar of Islam?

1. fasting during Ramadan
2. giving alms to the poor
3. praying five times a day
4. making a pilgrimage to Mecca

3. praying five times a day