It seems as though God took into consideration Isaac’s petition in His foresight, before any promise was even made to Abraham.
ىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىى link