The time for the nāfilah of ʿishāʾ is after performing the ʿishāʾ prayer until midnight, and it is better that it be performed immediately after the ʿishāʾ prayer.