I suppose your mother is drinking less water, which might be the root cause of hard stool. Now hard stool might have caused anal fissure, a painful condition.
Less water intake might be the reason for frequent small quantity painful urination.
Next Steps
Ask her to drink atleast 2 litres of water per day.
Fibre supplements will also he helpful for softening the stool.