Honey bees produce heat shock proteins (HSPs) following biotic and abiotic stressors to protect cells from damage. In the current study, the pattern of HSP70 gene transcription, foraging, and temperature inside and outside the hive and their association in Apis mellifera meda colonies during Ziziphus blooming period were investigated. Therefore, the number of bees entering the hive, temperature inside and outside the hive were recorded in six colonies at different times of the day. Entering and exiting worker bees were sampled in the front of three hives at three times during the day, morning, midday, and afternoon to evaluate HSP70 gene expression by real-time PCR. The results showed that the flight behavior was influenced by the inside and outside hive temperatures, which was lower and higher in the midday and at the end of the day, respectively. The peak amount of HSP70 gene transcription at the midday was associated with the lowest bee flight activity and highest inside and outside the hive temperatures. In addition, the peak of flight activity was associated with intermediate levels of HSP70 gene expression in the afternoon.