I could find no mention that there is a problem with taking Salaropyrin and Ranitidine. But maybe it would be prudent to not take them at the same time. Maybe wait an hour or so between taking one and then the other.
I added a link which may be of interest to you. Near the bottom is a list of some drugs that may interfere with Salazopyrine.
Chat with our AI personalities