"If Salah had had time he would have made a telephone call." Second one is the right one because conditional type 3 is : if + subject + had + p.p and the other sentence should be subject + would + p.p then the rest of the sentence i hope i have helped you