The Sagrada Familia is not included in the activities in Barcelona but you will have free time to visit, and it is highly recommended that you do!