I have received a very witty limerick about a "man from Madras", but, unfortunately, I can't post it. Those who enjoy ribald limericks can use their own imagination.

In any case, the limerick doesn't shed any light on the possibility of a root in common with "Madrassas".