If I'm not mistaken a mourner in the 1st 7 days, during the Shiva cannot study Torah (except for mourning-related Torah study) as it brings joy to a person. Firstly is this Halacha or a Minhag?
However does this apply on the Shabbat as well?
Please provide sources if possible.