I have a feeling that discussing or conducting certain activities (such as studying, world related other things etc) related to the world isn't good while you're inside but what I wanted is a confirmation with facts if possible.
The reason is why because, I saw a man came into the mosque and said to few youngsters like me; who were discussing their education related stuff inside the mosque. They were probably doing some homework and discussing certain matters related to it, I assume. But this elderly person came to them and said its prohibited nor is it good to do such worldly things inside the Kingdom of Allah (jalla jalaaluhu). He also said that if you don't believe ask some of your Moulavee's for confirmation. But as I heard, he did not give any facts.
Is it prohibited or not favored to do such worldly things like studying, having academic discussions and doing homework inside the mosque?