Muslims believe Ibrahim's faith was tested when God commanded him to sacrifice his only son Ismail. Ibrahim was prepared to perform the sacrifice but then God told him to stop because of his faith God sparing his son.