Sharjah is a very nice, modern and un-busy airport. Provided your Tehran flight arrives on time I cannot see any problems. I presume you are able to book all the way through with Air Arabia? Or do you have to check in again at Sharjah? If so ask Air Arabia for minimum check in times.
The Air Arabia aircraft are nice and clean. It was a pleasure to travel with them. In my case I arrived from London on BA at Dubai, took a 20 minute cab to Sharjah and then a flight to Muscat. I would do this again.