They are to be done publicly.
They are to be done publicly. Rather, perhaps the catalyst to hide such forms of worship is pretension as we pointed out before. It is this: Some souls covet to have a status in the hearts of people, so people may think well of them. In such case, what is also known is this: One who knows that they cannot be hidden, that they will eventually be known, he tries to hide doing them.
This is so because if people see the action later on, and they will have to, they will think that this person does what he does for the sake of Allah, praise belongs to Him, and he does not like people to get to know his deeds. For example, if someone wants to perform the pilgrimage, he knows that this action cannot be hidden from people because later he will have to be seen in Mecca and-Mina and perform the rounds and other rituals which will be seen by a huge number of people.
And he, once back from the pilgrimage, will be visited by the brethren; so, this deed will imminently be known. But if people come to know about it, they will state that he was hiding the preparations for it, so they will consider him as being sincere in his action and will think well of him. Such an individual is either a fool or a deceiving pretender who wants to hide his pretension from people.
But if the deed can and cannot be hidden, such as offering charity and prayers, it has to be manifested so long as there is no pretension in such manifesting, that there will be no harm in it such as showing the act of offering charity whHe harming the one receiving it. In such a case, it has to be hidden. But if it has no other harm, it is better to manifest it because it contains a public invitation to others to do likewise.
This is proven by the tradition of the prophets and friends of Allah (a.s) who has said the following about such a person: "... He will have the reward of doing it as well as that of anyone else who emulates it." Tradition narrates that doing a deed secretly equals doing it publicly seventy times. There are manifold rewards for doing a good deed secretly, as many as seventy times, if it follows the custom of doing it secretly.
As long as the heart separates itself from the impurities of pretension, and sincerity is complete in both cases, there is no doubt that anything good which is emulated by others is surely better. The concern is only about pretension being unveiled.