penalty posession question

Here is a question.
Player A1 slashes player B1. The flag goes down. While the flag is down and the ball is loose, the time on the penalty expires.
Is there a face off at the next quarter or does team B get posession?
Player A1 slashes player B1. The flag goes down. While the flag is down and the ball is loose, the time on the penalty expires.
Is there a face off at the next quarter or does team B get posession?